/*
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", "Helvetica Neue", sans-serif;
  background-color: #f9fafb;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.7;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3 {
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
}

ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

ul li {
  list-style: disc;
  margin-bottom: 10px;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  color: #1e40af;
}

nav {
  background-color: #0f172a;
  color: #ffffff;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo {
  font-size: 22px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

nav ul li a {
  color: #ffffff;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.3s;
}

nav ul li a:hover {
  background-color: #1e3a8a;
}

footer {
  background-color: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 32px 16px;
  font-size: 14px;
}

button,
input[type="submit"] {
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background: linear-gradient(to right, #2563eb, #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;
  background-color: #ffffff;
  font-size: 15px;
  color: #111827;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

table th,
table td {
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  text-align: left;
  font-size: 15px;
}

table th {
  background-color: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
}

.alert {
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
}

.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
}

.loader {
  width: 48px;
  height: 48px;
  margin: 40px auto;
  border: 6px solid #e5e7eb;
  border-top: 6px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@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: 30px 16px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 14px;
  }

  button,
  input[type="submit"] {
    width: 100%;
  }
}
