/* KBFC UAE Badminton Tournament Registration Styles - Modern Dark Theme */

body {
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.8) 0%, rgba(26, 31, 46, 0.8) 50%, rgba(42, 47, 62, 0.8) 100%), url('../court.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Inter', 'Poppins', 'Montserrat', sans-serif;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0a0f1c 0%, #1e2a3a 50%, #2a3f5f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 900;
    letter-spacing: clamp(1px, 0.8vw, 4px);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff 0%, #00bfff 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
    line-height: 1.1;
    word-break: keep-all;
    hyphens: none;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.3));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
        transform: scale(1.02);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: #ffd700 !important;
    display: block !important;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.4vw, 2px);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.hero-tagline {
    font-size: clamp(0.95rem, 2.8vw, 1.3rem);
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #e0e6ed !important;
    display: block !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(90deg, #0a0f1c, #1a1f2e) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 20px 0;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.navbar-brand {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: clamp(1rem, 3vw, 1.6rem) !important;
    letter-spacing: clamp(1px, 0.5vw, 2px) !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}

.navbar-brand img {
    height: clamp(50px, 8vw, 80px) !important;
    width: auto;
    max-width: 100%;
}

.navbar-brand span {
    font-family: 'Poppins', 'Inter', sans-serif !important;
}

.navbar-nav .nav-link {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: clamp(0.75rem, 2vw, 0.85rem) !important;
    letter-spacing: clamp(0.5px, 0.3vw, 1.5px) !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    margin: 0 4px !important;
    padding: clamp(0.5rem, 1.5vw, 0.6rem) clamp(0.6rem, 1.8vw, 0.8rem) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    color: #e0e6ed !important;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: #00bfff !important;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
    background: rgba(0, 191, 255, 0.1);
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
    color: #ffffff !important;
}

/* Social Media Icons */
.navbar-nav .nav-link i.fab {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i.fab {
    transform: scale(1.2) rotate(5deg);
}

.navbar-nav .nav-link i.fa-instagram:hover {
    color: #E4405F !important;
}

.navbar-nav .nav-link i.fa-facebook:hover {
    color: #1877F2 !important;
}

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
    }
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: none;
    margin-bottom: 40px;
    background: transparent;
    backdrop-filter: none;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 191, 255, 0.3) inset,
        0 0 30px rgba(0, 191, 255, 0.2);
}

.card-header {
    border-radius: 20px 20px 0 0 !important;
    border: none;
    background: linear-gradient(135deg, #0a0f1c 0%, #1e2a3a 100%);
    color: white;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-header h3 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
}

.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid rgba(0, 191, 255, 0.2);
    padding: 16px;
    transition: all 0.3s ease;
    background: rgba(42, 47, 62, 0.8);
    color: #ffffff !important;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.form-control:focus, .form-select:focus {
    border-color: #00bfff;
    box-shadow:
        0 0 0 0.25rem rgba(0, 191, 255, 0.25),
        inset 0 2px 8px rgba(0,0,0,0.3),
        0 0 20px rgba(0, 191, 255, 0.3);
    background: rgba(42, 47, 62, 0.95);
    color: #ffffff !important;
    transform: translateY(-2px);
    outline: none;
}

.form-control::placeholder {
    color: #a0a6b0 !important;
}

.form-select option {
    background: rgba(42, 47, 62, 0.95);
    color: #ffffff;
}

.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    box-shadow:
        0 6px 20px rgba(0, 191, 255, 0.4),
        0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0080ff 0%, #00bfff 100%);
    transform: translateY(-4px);
    box-shadow:
        0 8px 25px rgba(0, 191, 255, 0.6),
        0 0 30px rgba(0, 191, 255, 0.4),
        0 4px 12px rgba(0,0,0,0.4);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    border: none;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.badge {
    font-size: 0.85rem;
    padding: 0.6em 1em;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background-color: #2ed573 !important;
    color: #ffffff !important;
}

.badge.bg-info {
    background-color: #00bfff !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background-color: #ff4757 !important;
    color: #ffffff !important;
}

/* Confirmation page specific styles */
.confirmation-page .card-body {
    background: rgba(26, 31, 46, 0.95) !important;
    color: #ffffff !important;
}

.confirmation-page .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 191, 255, 0.05);
}

.confirmation-page .table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(26, 31, 46, 0.3);
}

.confirmation-page code {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
}

.alert {
    border: none;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #28a745;
    background-color: #d4edda;
}

.alert-warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
}

.alert-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
}

/* Payment page specific styles */
#card-element {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
}

.table-responsive {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Statistics cards */
.card.bg-success, .card.bg-warning, .card.bg-danger, .card.bg-info {
    border: none;
    border-radius: 10px;
}

.card.bg-success h4, .card.bg-warning h4, .card.bg-danger h4, .card.bg-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Form Labels with 3D effect */
.form-label {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

h5 {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    border-left: 4px solid #00bfff;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Responsive adjustments - Enhanced Mobile-First */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        overflow-x: hidden;
    }

    .container {
        padding: 0.75rem;
        max-width: 100vw;
    }

    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
        letter-spacing: 1px !important;
        line-height: 1.05;
        margin-bottom: 0.75rem;
        word-break: keep-all;
        hyphens: auto;
    }

    .hero-title + h3 {
        margin-top: -2px !important;
        margin-bottom: 8px !important;
    }

    .col-lg-8 .mt-4 {
        margin-top: 0.75rem !important;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem) !important;
        margin-bottom: 0.75rem;
    }

    .hero-tagline {
        font-size: clamp(0.9rem, 3.5vw, 1rem) !important;
        margin-bottom: 1.5rem;
    }

    .card {
        margin: 1rem 0;
        border-radius: 12px;
    }

    .card-header {
        padding: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .navbar-collapse {
        background: rgba(10, 15, 28, 0.95);
        border-radius: 8px;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .row.align-items-center.mb-5 {
        margin-bottom: 2rem !important;
    }

    .col-lg-8, .col-lg-4 {
        margin-bottom: 1.5rem;
    }

    .internal-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    h5 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .col-md-4 .form-label {
        font-size: 0.85rem;
    }

    .col-md-4 .form-control,
    .col-md-4 .form-select {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .form-check-inline {
        display: block;
        margin-bottom: 0.5rem;
    }

    .row .col-md-6,
    .row .col-md-4,
    .row .col-md-12 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .hero-title {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-tagline {
        font-size: 0.85rem !important;
    }

    .card-header,
    .card-body {
        padding: 1rem;
    }

    .internal-card {
        padding: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
}

/* Form validation styles */
.form-control.is-invalid, .form-select.is-invalid {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    box-shadow: 0 0 0 0.25rem rgba(255, 71, 87, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
}

.form-control.is-valid {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.1);
}

/* Custom checkbox and radio styles */
.form-check-input {
    background-color: rgba(42, 47, 62, 0.8);
    border: 2px solid rgba(0, 191, 255, 0.3);
    width: 1.2em;
    height: 1.2em;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #00bfff;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.form-check-input:hover:not(:disabled) {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.3);
}

.form-check-input:focus {
    border-color: #00bfff;
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
}

.form-check-input:disabled {
    background-color: rgba(108, 117, 125, 0.3);
    border-color: rgba(108, 117, 125, 0.3);
    opacity: 0.5;
}

.form-check-label {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.form-check-input:disabled + .form-check-label {
    color: #6c757d !important;
    opacity: 0.5;
}

.form-check:hover .form-check-input:not(:disabled) + .form-check-label {
    color: #00bfff !important;
}

/* Ensure all enabled radio buttons look the same */
input[type="radio"]:not(:disabled) + .form-check-label {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Force consistent styling for main category radios */
input[name="main_category"]:not(:disabled) + .form-check-label {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Hover effects for interactive elements */
.table-hover tbody tr:hover {
    background-color: rgba(42, 82, 152, 0.05);
}

/* Print styles for confirmation page */
@media print {
    .btn, .navbar, .card-header {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    margin-top: 40px;
}

.contact-info h5 {
    color: #2a5298;
    font-weight: 600;
    border-bottom: 2px solid #1e3c72;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.contact-link {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(90deg, #0a0f1c, #1a1f2e);
    color: white;
    padding: 40px 0;
    margin-top: 0;
    border-top: 2px solid rgba(0, 191, 255, 0.2);
}

.footer-section p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: #e0e6ed;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* CTA Button Styles */
.cta-button {
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
    color: #ffffff;
    padding: clamp(14px, 3.5vw, 18px) clamp(24px, 6vw, 40px);
    border-radius: clamp(8px, 2vw, 12px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    box-shadow:
        0 8px 25px rgba(0, 191, 255, 0.4),
        0 0 20px rgba(0, 191, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 35px rgba(0, 191, 255, 0.6),
        0 0 30px rgba(0, 191, 255, 0.4);
    background: linear-gradient(135deg, #0080ff 0%, #00bfff 100%);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Additional Dark Theme Elements */
.card-body {
    background: transparent;
    color: #ffffff;
    padding: 40px;
}

.input-group-text {
    background: rgba(0, 191, 255, 0.2);
    border: 2px solid rgba(0, 191, 255, 0.2);
    color: #00bfff;
    font-weight: 600;
}

.text-muted {
    color: #a0a6b0 !important;
}

.alert {
    border: none;
    border-radius: 12px;
    border-left: 4px solid;
    background: rgba(26, 31, 46, 0.9);
    color: #ffffff !important;
    font-weight: 500;
}

.alert h5 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.alert p {
    color: #ffffff !important;
    margin-bottom: 0;
}

.alert-success {
    border-left-color: #2ed573;
    background: rgba(46, 213, 115, 0.15);
}

.alert-warning {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
}

.alert-info {
    border-left-color: #00bfff;
    background: rgba(0, 191, 255, 0.15);
}

.table {
    color: #ffffff !important;
    background: rgba(26, 31, 46, 0.9);
}

.table td {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    font-weight: 500;
}

.table td strong {
    color: #ffffff !important;
    font-weight: 700;
}

.table thead th {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 191, 255, 0.1);
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    padding: 80px 0;
    margin-top: 60px;
    border-top: 2px solid rgba(0, 191, 255, 0.2);
}

.contact-info h5 {
    color: #ffd700;
    font-weight: 700;
    border-bottom: 2px solid #00bfff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-link {
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
.hero-section .col-lg-8 {
    text-align: left;
    margin-top: -100px;
}
/* Global Section Uniformity */
.container.mt-5.mb-5,
.container[style*="margin-top: 40px"],
.about-card,
.mission-section,
.vision-section,
.stats-section,
.event-section {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure all containers have consistent max-width */
.container {
    max-width: 1200px;
}

/* About page specific adjustments */
.about-card,
.mission-section,
.vision-section,
.stats-section,
.event-section {
    margin: 0 !important;
}

/* Contact page uniformity */
.contact-info h5 {
    color: #ffd700;
    font-weight: 700;
    border-bottom: 2px solid #00bfff;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Registration page uniformity */
.card-header {
    padding: 40px;
}

.card-body {
    padding: 40px;
}
/* Internal Cards for Unified Layout */
.internal-card {
    background: rgba(42, 47, 62, 0.3);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    transition: all 0.3s ease;
}

.internal-card:hover {
    background: rgba(42, 47, 62, 0.5);
    border-color: rgba(0, 191, 255, 0.2);
}

/* Jersey Details Font Size Fix */
.col-md-4 .form-label {
    font-size: 0.70rem;
}

.col-md-4 .form-control,
.col-md-4 .form-select {
    font-size: 0.9rem;
    padding: 12px;
}

/* Amount Field Visibility Fix */
#amountField {
    color: #333333 !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.header-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Mobile fix */
@media (max-width: 768px) {
    .header-logo {
        height: 55px;
        align-self: flex-start; /* keeps it under title nicely */
    }
}

/* Registration Rules Button */
.btn-outline-primary {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: #00D4FF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-outline-primary:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00D4FF;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.form-help {
    color: #9ca3af;   /* soft gray-blue */
    font-size: 0.85rem;
}

.rules-check .form-check-label {
    color: #cbd5e1;       /* soft gray-blue */
    font-size: 0.9rem;
    line-height: 1.4;
}

.rules-check .form-check-input:checked {
    background-color: #00d4ff;
    border-color: #00d4ff;
}

/* Hero Text Spacing Adjustments */
.hero-title + h3 {
    margin-top: -5px !important;
    margin-bottom: 10px !important;
}

.col-lg-8 .mt-4 {
    margin-top: 1rem !important;
}

.col-lg-8 .mt-4 .mb-4 {
    margin-bottom: 1rem !important;
}

/* Alternative selector for better browser support */
.card-body > .mb-5:nth-of-type(1) {
    margin-top: -30px !important;
}

/* Circular Countdown Timer Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: -140px;
}

/* ISSUE 3 FIX: Enhanced responsive countdown circle */
.countdown-circle {
    width: clamp(180px, 45vw, 280px);
    height: clamp(180px, 45vw, 280px);
    border-radius: 50%;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 50%, #ffd700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 0 30px rgba(0, 191, 255, 0.6),
        0 0 60px rgba(0, 191, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

.countdown-circle::before {
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 50%;
    background: rgba(10, 15, 28, 0.95);
    z-index: 1;
}

/* ISSUE 3 FIX: Responsive timer values and separators */
.time-value {
    font-size: clamp(1.1rem, 4.5vw, 1.8rem) !important;
    font-weight: 900;
    color: #00bfff;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    line-height: 1;
    font-family: 'Courier New', monospace;
}

.time-label {
    font-size: clamp(0.5rem, 1.8vw, 0.6rem) !important;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(0.3px, 0.4vw, 0.5px);
    margin-top: 2px;
    opacity: 0.8;
}

.time-separator {
    font-size: clamp(1rem, 3.8vw, 1.5rem) !important;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    margin: 0 clamp(1px, 0.5vw, 2px);
    align-self: flex-start;
    margin-top: clamp(4px, 2vw, 8px);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(25px, 8vw, 35px);
}

@keyframes pulse {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(0, 191, 255, 0.6),
            0 0 60px rgba(0, 191, 255, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow:
            0 0 40px rgba(0, 191, 255, 0.8),
            0 0 80px rgba(0, 191, 255, 0.4),
            inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

@keyframes celebration {
    0% {
        transform: scale(1);
        color: #ffd700;
    }
    100% {
        transform: scale(1.05);
        color: #00bfff;
    }
}

/* Responsive countdown - simplified */
@media (max-width: 991px) {
    .countdown-container {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .countdown-container {
        margin: 20px auto;
    }
}

.countdown-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 35px;
}

.time-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00bfff;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    line-height: 1;
    font-family: 'Courier New', monospace;
}

.time-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    opacity: 0.8;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    margin: 0 2px;
    align-self: flex-start;
    margin-top: 8px;
}

/* ISSUE 3 FIX: Responsive circular countdown text */
.countdown-message {
    font-size: clamp(0.7rem, 3.5vw, 1.1rem) !important;
    font-weight: 800;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.8vw, 1px) !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: celebration 1s ease-in-out infinite alternate;
    line-height: clamp(1.1, 1.2, 1.3) !important;
    word-break: keep-all;
    hyphens: none;
    padding: 0 clamp(8px, 2vw, 16px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
}

.countdown-label {
    font-size: clamp(0.6rem, 2.8vw, 0.8rem) !important;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.6vw, 1px) !important;
    margin-bottom: clamp(8px, 3vw, 15px) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    line-height: 1.2;
    text-align: center;
    word-break: keep-all;
    padding: 0 clamp(4px, 1.5vw, 8px);
}

/* Partner Skill Level visibility fix */
#partnerLevel {
    color: #111 !important;              /* Dark readable text */
    background-color: #e9ecef !important; /* Light grey field */
    opacity: 1 !important;               /* Remove faded look */
    font-weight: 600;
}

/* Dropdown arrow color fix */
#partnerLevel option {
    color: #111;
}

/* Player Mobile Country Code (+971 UAE) visibility fix */
#countryCode {
    color: #111 !important;        /* Dark text */
    background-color: #e9ecef !important;
    opacity: 1 !important;         /* Remove faded disabled look */
    font-weight: 600;
}

/* Make dropdown arrow visible */
#countryCode option {
    color: #111;
}

/* Partner Mobile Country Code (+971 UAE) visibility fix */
select[name="partner_country_code"] {
    color: #111 !important;         /* Dark readable text */
    background-color: #e9ecef !important;
    opacity: 1 !important;          /* Remove disabled fade */
    font-weight: 600;
}

select[name="partner_country_code"] option {
    color: #111;
}
