/*
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: #f4f6f9;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

h1, h2, h3 {
  color: #1d1d3c;
  margin-bottom: 15px;
}

p, ul, li {
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

.nav {
  background-color: #0b1736;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  color: white;
  flex-wrap: wrap;
}

.nav-item {
  margin: 0 15px;
  position: relative;
  cursor: pointer;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e2c56;
  min-width: 180px;
  z-index: 999;
}

.nav-dropdown a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background-color: #2b3c6a;
}

.footer {
  background-color: #0b1736;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 40px;
}

.section {
  padding: 30px 0;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  background-color: #f1c40f;
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: #d4ac0d;
}

.btn-danger {
  background-color: #e74c3c;
  color: #fff;
}

.btn-danger:hover {
  background-color: #c0392b;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #fff;
}

.table th, .table td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: left;
}

.table th {
  background-color: #34495e;
  color: #fff;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

input[type="submit"] {
  background-color: #f39c12;
  color: #fff;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #d68910;
}

.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-weight: bold;
}

.alert-success {
  background-color: #2ecc71;
  color: #fff;
}

.alert-error {
  background-color: #e74c3c;
  color: #fff;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #f39c12;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item {
    margin: 10px 0;
  }

  .container {
    padding: 10px;
  }

  .table, .table th, .table td {
    font-size: 14px;
  }
}
