#lottery-booking-container, #lottery-admin-root {
    background: #0a0e23;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 30px auto;
    box-sizing: border-box;
    overflow-x: auto;
}

#lottery-admin-error {
    background: #f44336;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

#lottery-booking-form {
    width: 100%;
    box-sizing: border-box;
}

#lottery-booking-form input, #lottery-booking-form select, #lottery-booking-form button {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1px solid #333;
    border-radius: 5px;
    background: #1a1f3a;
    color: #fff;
}

#lottery-booking-form input:focus, #lottery-booking-form select:focus {
    outline: none;
    border-color: #ff6600;
}

#lottery-booking-form button, #pay-now-btn {
    background: #ff6600;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

#lottery-booking-form button:hover {
    background: #e55a00;
}

.pincode-success, .pincode-error {
    margin-top: 5px;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.confirmation-container {
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-header h2 {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 28px;
}

.thank-you {
    font-size: 16px;
    color: #ccc;
}

.ticket-details, .user-details {
    margin-bottom: 30px;
}

.ticket-details h3, .user-details h3 {
    color: #ff6600;
    margin-bottom: 15px;
    font-size: 18px;
}

.ticket-card {
    background: #1a1f3a;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.ticket-row:last-child {
    border-bottom: none;
}

.ticket-row .label {
    color: #ccc;
    font-weight: 500;
}

.ticket-row .value {
    color: #fff;
    font-weight: bold;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status.pending {
    background: #ff9800;
    color: #fff;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    background: #1a1f3a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
}

.detail-label {
    display: block;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.payment-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #1a1f3a;
    border-radius: 10px;
    border: 1px solid #333;
}

.payment-note {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 14px;
}

.pay-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.pay-icon {
    margin-right: 8px;
}

.admin-header {
    background: #1a1f3a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.admin-header h2 {
    color: #ff6600;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.admin-header p {
    color: #ccc;
    margin: 0;
    font-size: 16px;
}

.delete-btn {
    background: #f44336;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
    margin-right: 5px;
}

.delete-btn:hover {
    background: #d32f2f;
}

.allow-result-btn {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.allow-result-btn:hover {
    background: #45a049;
}

.allow-result-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.no-bookings {
    text-align: center;
    padding: 40px;
    color: #ccc;
    font-size: 18px;
}

#lottery-admin-root table {
    width: 100%;
    background: #fff;
    color: #000;
    border-collapse: collapse;
    margin-top: 20px;
}

#lottery-admin-root th, #lottery-admin-root td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

#lottery-admin-root th {
    background: #f5f5f5;
    font-weight: bold;
}

#lottery-admin-root tr:nth-child(even) {
    background: #f9f9f9;
}

#lottery-admin-root tr:hover {
    background: #f0f0f0;
}