/*
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: #f4f6f8;
  color: #1c1c1c;
  line-height: 1.6;
}

a {
  color: #0047ab;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff6f00;
}

.site-header {
  background-color: #0a1f44;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  flex-wrap: wrap;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a {
  color: #ffffff;
  font-weight: 600;
  padding: 6px 12px;
}

.site-header nav a:hover {
  color: #ffb300;
}

.site-footer {
  background-color: #111;
  color: #cccccc;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #ff9800;
}

.main-content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h1, h2, h3 {
  color: #0a1f44;
  margin-top: 1.5em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  padding-left: 12px;
  border-left: 6px solid #ff6f00;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.2rem;
  color: #0073e6;
}

ul {
  padding-left: 1.5em;
}

ul li {
  margin-bottom: 0.5em;
}

.button, .btn {
  display: inline-block;
  background-color: #ff6f00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.button:hover, .btn:hover {
  background-color: #e65100;
}

.table-style {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  font-size: 0.95rem;
}

.table-style th, .table-style td {
  padding: 12px 14px;
  border: 1px solid #ddd;
  text-align: left;
}

.table-style th {
  background-color: #0a1f44;
  color: #fff;
}

.table-style tr:nth-child(even) {
  background-color: #f1f1f1;
}

.alert {
  padding: 15px 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 0.95rem;
}

.alert.success {
  background-color: #d0f8ce;
  color: #2e7d32;
  border-left: 6px solid #388e3c;
}

.alert.warning {
  background-color: #fff3cd;
  color: #8a6d3b;
  border-left: 6px solid #ff9800;
}

.alert.error {
  background-color: #f8d7da;
  color: #c62828;
  border-left: 6px solid #d32f2f;
}

.loader {
  width: 48px;
  height: 48px;
  margin: 40px auto;
  border: 5px solid #e0e0e0;
  border-top: 5px solid #0a1f44;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header nav {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .main-content {
    padding: 20px 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .button, .btn {
    width: 100%;
    text-align: center;
  }

  .table-style th, .table-style td {
    font-size: 0.9rem;
    padding: 10px;
  }
}
