/*
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, Helvetica, Arial, sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.7;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

h1, h2, h3 {
  color: #1e293b;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 1.9em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }

p {
  margin: 1em 0;
}

ul, ol {
  padding-left: 1.5em;
  margin: 1em 0;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

address {
  background: #e2e8f0;
  border-left: 4px solid #3b82f6;
  padding: 16px;
  font-style: normal;
  margin: 1em 0;
}

nav {
  background-color: #1e293b;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px 0;
}

nav a {
  color: #ffffff;
  padding: 10px 20px;
  margin: 6px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #3b82f6;
}

footer {
  background-color: #1e293b;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 40px;
}

.button {
  display: inline-block;
  background-color: #3b82f6;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #2563eb;
}

.button-secondary {
  background-color: #e2e8f0;
  color: #1e293b;
}

.button-secondary:hover {
  background-color: #cbd5e1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: #ffffff;
}

table th, table td {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

table th {
  background-color: #1e293b;
  color: #ffffff;
  font-weight: 600;
}

.alert {
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-weight: 600;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border-left: 6px solid #22c55e;
}

.alert-warning {
  background-color: #fef9c3;
  color: #92400e;
  border-left: 6px solid #eab308;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 6px solid #ef4444;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #e2e8f0;
  border-top: 5px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  main {
    padding: 16px;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 6px 0;
    width: 90%;
    text-align: center;
  }

  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  table td, table th {
    box-sizing: border-box;
    width: 100%;
    display: block;
  }

  table th {
    background-color: #3b82f6;
    color: #ffffff;
  }
}
