/*
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", sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.7;
}

header,
footer {
  background-color: #0f172a;
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

header h1,
footer p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

section {
  max-width: 960px;
  margin: 30px auto;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

h2,
h3 {
  color: #0f172a;
  margin-bottom: 16px;
  font-size: 22px;
}

p {
  margin-bottom: 14px;
}

ul,
ol {
  margin: 14px 0;
  padding-left: 24px;
}

ul li,
ol li {
  margin-bottom: 10px;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  background-color: #1d4ed8;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #2563eb;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f9fafb;
  margin-bottom: 18px;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

form label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #334155;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  padding: 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

table th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}

table tr:nth-child(even) {
  background-color: #f8fafc;
}

.alert {
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 24px;
}

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
  border-left: 5px solid #22c55e;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border-left: 5px solid #ef4444;
}

.navbar {
  background-color: #1e293b;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
}

.navbar .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.navbar .menu a {
  color: #e2e8f0;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar .menu a:hover {
  color: #60a5fa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.loader {
  width: 60px;
  height: 60px;
  margin: 40px auto;
  border: 6px solid #e2e8f0;
  border-top: 6px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  section {
    margin: 20px 12px;
    padding: 20px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .menu {
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
    gap: 12px;
  }

  button {
    width: 100%;
  }

  input,
  textarea {
    font-size: 15px;
  }
}
