/*
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;}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f8fafc;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3 {
  color: #16213e;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 16px;
}

ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
}

nav {
  background-color: #0f172a;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav ul li a {
  color: #ffffff;
  font-weight: 500;
}

nav ul li a:hover {
  color: #60a5fa;
}

footer {
  background-color: #0f172a;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 60px;
}

button,
input[type="submit"] {
  background-color: #3b82f6;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: #1d4ed8;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  background-color: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: #ffffff;
  font-size: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

table th,
table td {
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

table th {
  background-color: #f1f5f9;
  color: #111827;
}

.alert {
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
}

.alert-warning {
  background-color: #fef9c3;
  color: #92400e;
}

.loader {
  width: 50px;
  height: 50px;
  border: 6px solid #e2e8f0;
  border-top: 6px 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) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  main {
    padding: 20px 16px;
  }

  table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
  }
}
