/*
Theme Name: dearlotteryresultchart.net Child Theme
Description: GeneratePress Child Theme for dearlotteryresultchart.net
Author: Auto Generated
Template: generatepress
Version: 1.0.0
*/
.menu li{display: inline-block;}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: #f5f7fa;
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.7;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

h1, h2, h3 {
  color: #111827;
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p, li {
  margin-bottom: 12px;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.site-nav {
  background-color: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.site-nav a:hover {
  background-color: #1e293b;
}

.site-footer {
  background-color: #111827;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 60px;
}

.btn {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease;
  text-align: center;
}

.btn:hover {
  background-color: #1d4ed8;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
}

.styled-table th,
.styled-table td {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.styled-table thead {
  background-color: #f1f5f9;
  color: #1e293b;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.alert-success {
  background-color: #dcfce7;
  color: #065f46;
  border-left: 6px solid #22c55e;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 6px solid #ef4444;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 6px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  main {
    padding: 24px 16px;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
  }

  .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .styled-table th,
  .styled-table td {
    font-size: 14px;
    padding: 10px;
  }
}
