/*
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: #f9fafb;
  color: #1f2937;
  line-height: 1.75;
  font-size: 16px;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

h1, h2, h3 {
  color: #111827;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin: 1em 0;
  color: #374151;
}

ul, ol {
  margin: 1em 0 1em 1.5em;
}

li {
  margin-bottom: 0.4em;
}

nav {
  background: #1e40af;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 0;
}

nav a {
  color: #ffffff;
  padding: 10px 16px;
  margin: 4px 6px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover {
  background: #2563eb;
}

footer {
  background-color: #1e3a8a;
  color: #e0e7ff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 40px;
}

.button {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 22px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #1d4ed8;
}

.button-secondary {
  background-color: #e5e7eb;
  color: #1f2937;
}

.button-secondary:hover {
  background-color: #d1d5db;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #f8fafc;
}

form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #1f2937;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: #ffffff;
}

table th, table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

table th {
  background-color: #1e3a8a;
  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;
  margin: 40px auto;
  border: 5px solid #e5e7eb;
  border-top: 5px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  main {
    padding: 16px;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 8px 0;
    width: 100%;
    text-align: center;
  }

  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  table th, table td {
    width: 100%;
    box-sizing: border-box;
  }

  .button, .button-secondary {
    width: 100%;
    text-align: center;
  }
}