/*
Theme Name: dearlotteryresultchart.net Child Theme
Description: GeneratePress Child Theme for dearlotteryresultchart.net
Author: Auto Generated
Template: generatepress
Version: 1.0.0
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

.page {
  max-width: 1100px;
  margin: 30px auto;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h1, h2, h3 {
  color: #1e40af;
  margin-bottom: 20px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p, li {
  color: #333;
  margin-bottom: 18px;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  margin-bottom: 40px;
  border-bottom: 3px solid #1d4ed8;
  padding-bottom: 10px;
}

footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
  text-align: center;
}

nav {
  background-color: #1d4ed8;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo {
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: #ffffff;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background-color: #2563eb;
}

.button, .btn {
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.button:hover, .btn:hover {
  background-color: #1e40af;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

table th, table td {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

table th {
  background-color: #eff6ff;
  color: #1e40af;
}

table tr:nth-child(even) {
  background-color: #f9fafb;
}

.alert {
  padding: 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-weight: 500;
}

.alert-info {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 5px solid #3b82f6;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border-left: 5px solid #22c55e;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border-left: 5px solid #ef4444;
}

.loading {
  width: 40px;
  height: 40px;
  border: 5px solid #3b82f6;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
  }

  .page {
    padding: 20px 15px;
    margin: 20px 10px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .button, .btn {
    font-size: 14px;
    padding: 9px 16px;
  }

  table th, table td {
    font-size: 14px;
    padding: 10px;
  }
}

.menu li{display: inline-block;}