* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.club-logo {
    max-width: 450px;
    height: auto;
}

header h1,
.main-title {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    font-weight: normal;
    margin: 20px 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    font-weight: normal;
    margin: 10px 0 20px 0;
    color: #4dabf7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.warning-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid #ff6b6b;
}

.warning-message p {
    font-family: 'Bangers', cursive;
    margin: 5px 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.warning-message a {
    font-family: 'Bangers', cursive;
    color: #4dabf7;
    text-decoration: underline;
    letter-spacing: 1px;
}

.warning-message a:hover {
    color: #74c0fc;
}

.signup-counter {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid #51cf66;
}

.signup-counter p {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    font-weight: normal;
    margin: 0;
    color: #51cf66;
    letter-spacing: 1px;
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
}

.form-container.active {
    display: block;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2,
.form-title {
    font-family: 'Bangers', cursive;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.form-header p,
.form-subtitle {
    font-family: 'Bangers', cursive;
    color: #e2e8f0;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

/* Form Styling */
.signup-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Bangers', cursive;
    font-weight: normal;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #4a5568;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Fix autofill white background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.3);
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.form-group input:invalid {
    border-color: #ff6b6b;
}

.form-group select {
    cursor: pointer;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: 'Bangers', cursive;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #4a5568;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    background: #2d3748;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4dabf7;
    border-color: #4dabf7;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label a {
    font-family: 'Bangers', cursive;
    color: #4dabf7;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.checkbox-label a:hover {
    color: #74c0fc;
    text-decoration: underline;
}

/* Button Styling */
.btn-primary, .btn-secondary {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #4dabf7, #51cf66);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(77, 171, 247, 0.4);
    background: linear-gradient(135deg, #74c0fc, #69db7c);
}

/* Pink Submit Button */
.btn-pink {
    background: linear-gradient(135deg, #ff69b4, #ff1493) !important;
    color: white !important;
    font-family: 'Bangers', cursive !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    border: 3px solid #ff1493 !important;
}

.btn-pink:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff85c1, #ff69b4) !important;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.5) !important;
    transform: translateY(-3px) !important;
    border-color: #ff69b4 !important;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    font-family: 'Bangers', cursive;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-content, .error-content {
    text-align: center;
}

.success-icon, .error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-content h2, .error-content h2 {
    font-family: 'Bangers', cursive;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.success-content p, .error-content p {
    font-family: 'Bangers', cursive;
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.next-steps {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: left;
}

.next-steps h3 {
    font-family: 'Bangers', cursive;
    color: #4dabf7;
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    font-family: 'Bangers', cursive;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #51cf66;
    font-weight: bold;
}

/* Rules Link and Time Info Boxes */
.rules-link {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.rules-link p {
    font-family: 'Bangers', cursive;
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.rules-link a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Bangers', cursive;
    letter-spacing: 1px;
}

.rules-link a:hover {
    color: #ff5252;
    text-decoration: underline;
}

.time-info {
    background: rgba(77, 171, 247, 0.1);
    border: 2px solid #4dabf7;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.time-zone {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
}

.time-zone strong {
    font-family: 'Bangers', cursive;
    color: #4dabf7;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.time-zone span {
    font-family: 'Bangers', cursive;
    color: #ffffff;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .form-container {
        padding: 25px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
}

/* Form Validation Styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

.error-message {
    font-family: 'Bangers', cursive;
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
    letter-spacing: 0.5px;
}

.form-group.error .error-message {
    display: block;
}
/* To
pic Error Message */
.topic-error {
    font-family: 'Bangers', cursive;
    background: #ff6b6b;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    font-weight: normal;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Form Row for Date/Time */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .club-logo {
        max-width: 350px;
    }
    
    header h1,
    .main-title {
        font-size: 2.4rem;
        letter-spacing: 1.5px;
    }
    
    .form-header h2,
    .form-title {
        font-size: 2.2rem;
    }
    
    .form-header p,
    .form-subtitle {
        font-size: 1.2rem;
    }
    
    .warning-message {
        padding: 15px;
    }
    
    .warning-message p {
        font-size: 1rem;
    }
    
    .btn-pink {
        font-size: 1.1rem !important;
    }
}/* P
laceholder text styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.form-group input::-webkit-input-placeholder,
.form-group textarea::-webkit-input-placeholder {
    color: #9ca3af;
}

.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Select dropdown styling for better visibility */
.form-group select option {
    background: #2d3748;
    color: #ffffff;
}

/* Ensure text is visible in all browsers */
.form-group input,
.form-group select,
.form-group textarea {
    -webkit-text-fill-color: #ffffff;
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #1a202c;
    color: #9ca3af;
    -webkit-text-fill-color: #9ca3af;
}

/* Fix autocomplete styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Additional fixes for white background issues */
input, select, textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Force dark background on all form elements */
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"], 
input[type="tel"], 
select, 
textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-background-clip: text !important;
}

/* Override any browser default styling */
input:-internal-autofill-selected {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Nuclear option - force dark backgrounds everywhere */
* input, * select, * textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

* input:focus, * select:focus, * textarea:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Target specific form elements */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* =====
===================================
   ADMIN PANEL DARK THEME STYLES
   ======================================== */

/* Admin Panel Body Override */
body.admin-dark {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Admin Container */
.admin-container {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Admin Header */
.admin-header {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.admin-header h1 {
    color: #ffffff !important;
}

.admin-header p {
    color: #e2e8f0 !important;
}

/* Statistics Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.stat-number {
    color: #4dabf7 !important;
}

/* Filters Section */
.filters {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.filters label {
    color: #ffffff !important;
}

.filters input,
.filters select {
    background: #2d3748 !important;
    color: #ffffff !important;
    border: 2px solid #4a5568 !important;
}

.filters input:focus,
.filters select:focus {
    border-color: #4dabf7 !important;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.3) !important;
}

/* Table Container */
.table-container {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Table Styling */
.registrations-table {
    background: transparent !important;
    color: #ffffff !important;
}

.registrations-table th {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.registrations-table td {
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.registrations-table tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Status Badges */
.status-badge.status-sent {
    background: #51cf66 !important;
    color: #000000 !important;
}

.status-badge.status-pending {
    background: #ff6b6b !important;
    color: #ffffff !important;
}

/* Action Buttons */
.btn-small {
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.btn-email {
    background: #4dabf7 !important;
    color: white !important;
}

.btn-remind {
    background: #51cf66 !important;
    color: white !important;
}

.btn-delete {
    background: #ff6b6b !important;
    color: white !important;
}

/* Email Templates Section */
.email-templates {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.email-templates h3,
.email-templates h4 {
    color: #ffffff !important;
}

.email-templates p {
    color: #e2e8f0 !important;
}

/* Template Boxes */
.template {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

.template pre {
    color: #e2e8f0 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Topic Management */
.email-templates input[type="text"] {
    background: #2d3748 !important;
    color: #ffffff !important;
    border: 2px solid #4a5568 !important;
}

.email-templates input[type="text"]:focus {
    border-color: #4dabf7 !important;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.3) !important;
}

/* Topic List */
.email-templates div[style*="border-bottom"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

/* Login Form */
.form-container {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.form-container .form-header h2 {
    color: #ffffff !important;
}

.form-container .form-header p {
    color: #e2e8f0 !important;
}

/* Error Messages in Admin */
div[style*="color: #e53e3e"] {
    color: #ff6b6b !important;
}

/* No Results Message */
div[style*="text-align: center"][style*="padding: 40px"] {
    color: #9ca3af !important;
}

/* Logout Link */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    display: inline-block !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Primary Button in Admin */
.btn-primary {
    background: linear-gradient(135deg, #4dabf7, #51cf66) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #74c0fc, #69db7c) !important;
    transform: translateY(-1px) !important;
}