/*
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;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f7f9fc;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
}

.page {
  max-width: 1080px;
  margin: auto;
  padding: 30px 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-radius: 8px;
}

h1, h2, h3 {
  margin-bottom: 20px;
  color: #1a237e;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p, ul, ol {
  margin-bottom: 20px;
  color: #333;
}

ul, ol {
  padding-left: 20px;
}

a {
  color: #1976d2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  margin-bottom: 40px;
  border-bottom: 2px solid #1976d2;
  padding-bottom: 10px;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  color: #555;
}

nav {
  background: #1a237e;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav .logo {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
  color: #ffeb3b;
}

.button, .btn {
  display: inline-block;
  background: #1976d2;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  transition: background 0.3s ease;
  cursor: pointer;
}

.button:hover, .btn:hover {
  background: #0d47a1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

table th {
  background: #f1f1f1;
  color: #111;
}

table tr:nth-child(even) {
  background: #fafafa;
}

.alert {
  padding: 15px;
  background-color: #ffeb3b;
  color: #333;
  border-left: 6px solid #fbc02d;
  margin-bottom: 20px;
  border-radius: 4px;
}

.success {
  background-color: #c8e6c9;
  border-left: 6px solid #388e3c;
}

.error {
  background-color: #ffcdd2;
  border-left: 6px solid #d32f2f;
}

.loading {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 5px solid #1976d2;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .page {
    padding: 20px 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  table th, table td {
    font-size: 14px;
    padding: 10px;
  }

  .button, .btn {
    font-size: 14px;
    padding: 8px 14px;
  }
}
