/* Underwater Bubble Animations */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    box-shadow: 
        inset 0 0 10px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(255, 255, 255, 0.2);
    animation: rise linear infinite;
    opacity: 0.6;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        transform: translateX(100px) scale(0.5);
        opacity: 0;
    }
}

/* Underwater Wave Effect */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,165.3C672,171,768,213,864,218.7C960,224,1056,192,1152,165.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 1440px 100px;
    animation: wave 10s linear infinite;
    opacity: 0.3;
}

.wave:nth-child(2) {
    bottom: 10px;
    animation: wave 8s linear infinite reverse;
    opacity: 0.2;
}

.wave:nth-child(3) {
    bottom: 20px;
    animation: wave 12s linear infinite;
    opacity: 0.1;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1440px; }
}

/* Light Rays Effect */
.light-rays {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        transparent 100%
    );
    clip-path: polygon(45% 0%, 55% 0%, 70% 100%, 30% 100%);
    animation: lightRay 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lightRay {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) rotate(-5deg);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) rotate(5deg);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Water Caustics Effect */
.caustics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: caustics 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes caustics {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1) rotate(5deg);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #00cc99 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-content img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loader-subtext {
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Shine Effect */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shine-effect {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shine 3s infinite;
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s ease;
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease;
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f2ff;
    --secondary: #00cc99;
    --accent: #ff9900;
    --dark: #1a1a1a;
    --light: #f4f7f6;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-hover: 0 12px 40px rgba(31, 38, 135, 0.25);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00cc99 100%);
    --gradient-accent: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(0, 50, 120, 0.95) 0%, 
        rgba(0, 100, 180, 0.9) 40%,
        rgba(0, 150, 170, 0.85) 70%,
        rgba(0, 180, 160, 0.8) 100%), 
        url('assets/images/swimming-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation: underwaterGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes underwaterGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-content {
    max-width: 1000px;
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 10;
}

.hero-content img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e6f2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p strong {
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 15px rgba(255, 215, 0, 0.4);
}

.hero-content > div {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.hero-content > div p {
    margin: 8px 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
}

.hero-content > div p strong {
    color: #ffd700;
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.btn::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:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 153, 0, 0.6);
    filter: brightness(1.1);
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto;
    border-radius: 2px;
}

/* Registration Form */
.registration-container {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

.registration-container:hover {
    box-shadow: var(--shadow-hover);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--primary-light);
}

.form-header h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
    background: #fafafa;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.full-width {
    grid-column: span 2;
}

/* Event List */
.event-selection {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.event-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.event-item:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.event-item input {
    margin-right: 12px;
    width: 20px;
    height: 20px;
}

/* Fee Summary */
.fee-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 15px;
    text-align: center;
}

.fee-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.fee-summary p {
    font-size: 2rem;
    font-weight: 800;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-content img {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .hero-content > div {
        padding: 15px;
        margin-top: 20px;
        width: 100%;
    }
    
    .hero-content > div p {
        font-size: 0.95rem;
        margin: 6px 0;
    }
    
    .btn {
        padding: 14px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-dev {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-dev a {
    color: var(--secondary);
    text-decoration: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Footer Enhancements */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin: 8px 0;
    opacity: 0.8;
}

.footer-section a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section i {
    margin-right: 8px;
}

/* Enhanced Form Styles */
.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

.form-group input,
.form-group select {
    transition: all 0.3s ease;
}

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Card Hover Effects */
section > div > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section > div > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

/* Event Item Enhanced */
.event-item input[type="checkbox"] {
    accent-color: var(--primary);
}

.event-item:has(input:checked) {
    border-color: var(--primary);
    background: #e8f5ff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Terms Acceptance Container */
.terms-acceptance-container {
    max-width: 900px;
    margin: 0 auto 40px;
}

.terms-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.terms-card:hover {
    box-shadow: var(--shadow-hover);
}

.terms-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.terms-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.terms-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.terms-content {
    padding: 40px;
}

.terms-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.terms-item:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.terms-item i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.terms-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.terms-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.terms-acceptance-action {
    padding: 30px 40px 40px;
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
}

.view-full-terms {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-full-terms:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Custom Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.label-text {
    line-height: 1.5;
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-label {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-label:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary);
    background: var(--white);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.radio-label input[type="radio"]:checked ~ .radio-text {
    color: var(--primary);
    font-weight: 600;
}

.radio-text {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.radio-text i {
    font-size: 1.2rem;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover:not(:disabled) i {
    transform: translateX(5px);
}

/* Form Icons */
.form-group label i {
    margin-right: 8px;
    color: var(--primary);
}

/* Text Muted */
.text-muted {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 0.85rem;
}

/* Responsive for Terms */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px;
    }
    
    .terms-acceptance-action {
        padding: 20px;
    }
    
    .terms-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .radio-label {
        min-width: 100%;
    }
}

/* Registration Status Message Styles */
.registration-status-message {
    margin-top: 30px;
}

.status-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.status-closed .status-icon {
    color: #ff6b6b;
}

.status-upcoming .status-icon {
    color: #ffa726;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.status-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
}

.status-closed h3 {
    color: #ff6b6b;
}

.status-upcoming h3 {
    color: #ffa726;
}

.status-message {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.status-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1976d2;
    font-size: 16px;
}

.status-info i {
    font-size: 24px;
}

.status-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.status-contact p {
    margin: 8px 0;
    color: #666;
    font-size: 16px;
}

.status-contact strong {
    color: #333;
    font-size: 18px;
    display: inline-block;
    margin-top: 5px;
}

.status-contact i {
    margin-right: 8px;
    color: #25d366;
}

@media (max-width: 768px) {
    .status-card {
        padding: 40px 20px;
    }
    
    .status-icon {
        font-size: 60px;
    }
    
    .status-card h3 {
        font-size: 24px;
    }
    
    .status-message {
        font-size: 16px;
    }
}
