/* Registration Page Styles */
.logoText {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #2d3436;
}

.logoText .mate {
    color: #6c5ce7;
}

/* Registration Header */
.registration-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 5rem 5% 3rem;
    position: relative;
    overflow: hidden;
}

.registration-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.registration-header .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

.registration-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.registration-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Registration Section */
.registration-section {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

.registration-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.registration-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Event Details Card */
.event-details-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.event-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.event-date-large {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
}

.event-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.event-year {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.event-title h2 {
    font-size: 1.8rem;
    color: #2d3436;
    margin: 0.5rem 0;
}

.event-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-badge.qna {
    background-color: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.event-instructor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #636e72;
    margin-top: 0.5rem;
}

.event-instructor i {
    color: #6c5ce7;
}

/* Event Info */
.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.2rem;
    color: #6c5ce7;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    color: #2d3436;
    font-size: 1rem;
    margin: 0;
}

.spots-left {
    color: #e74c3c;
    font-weight: 700;
}

/* Event Description */
.event-description {
    margin-bottom: 2.5rem;
}

.event-description h3 {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.event-description p {
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.event-description ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.event-description ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: #636e72;
}

.event-description ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

.event-description strong {
    color: #2d3436;
}

/* Event Testimonials */
.event-testimonials {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

.event-testimonials h3 {
    font-size: 1.4rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.testimonial {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #6c5ce7;
}

.testimonial p {
    color: #2d3436;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial span {
    color: #636e72;
    font-size: 0.9rem;
}

/* Registration Form Card */
.registration-form-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    font-size: 1.5rem;
    color: #2d3436;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-header i {
    color: #6c5ce7;
}

.form-price {
    text-align: right;
}

.price-free {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00b894;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: #636e72;
}

/* Form Styles */
#registrationForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3436;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d3436;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c5ce7;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Experience Levels */
.experience-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.level-option {
    position: relative;
}

.level-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.level-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.level-option label i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #636e72;
}

.level-option input[type="radio"]:checked + label {
    border-color: #6c5ce7;
    background-color: rgba(108, 92, 231, 0.05);
}

.level-option input[type="radio"]:checked + label i {
    color: #6c5ce7;
}

/* Checkbox Groups */
/* Checkbox Groups - Very Tight */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin: -120px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

.checkbox-group a {
    color: #6c5ce7;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Form Notice */
.form-notice {
    background-color: rgba(108, 92, 231, 0.05);
    border-left: 4px solid #6c5ce7;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-notice i {
    color: #6c5ce7;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.form-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #636e72;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Confirmation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.success-icon {
    font-size: 2.5rem;
    color: #00b894;
    margin-right: 1rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: #2d3436;
    margin: 0;
    flex: 1;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #636e72;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    color: #636e72;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.confirmation-details {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    font-size: 1.5rem;
    color: #6c5ce7;
    flex-shrink: 0;
}

.detail-item h4 {
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.detail-item p {
    margin: 0;
    font-size: 1rem;
    color: #2d3436;
}

#userEmail {
    font-weight: 600;
    color: #6c5ce7;
}

.next-steps {
    margin-top: 2rem;
}

.next-steps h4 {
    font-size: 1.2rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.next-steps ol {
    padding-left: 1.5rem;
    margin: 0;
}

.next-steps li {
    color: #636e72;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
}

.modal-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.modal-btn.secondary {
    background-color: transparent;
    border: 2px solid #6c5ce7;
    color: #6c5ce7;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .registration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .registration-form-card {
        position: static;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date-large {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: auto;
        width: fit-content;
    }
    
    .event-day,
    .event-month,
    .event-year {
        display: inline;
    }
    
    .event-day {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .registration-header {
        padding: 4rem 5% 2rem;
    }
    
    .registration-header h1 {
        font-size: 2.2rem;
    }
    
    .registration-section {
        padding: 3rem 5%;
    }
    
    .event-details-card,
    .registration-form-card {
        padding: 1.5rem;
    }
    
    .event-info {
        grid-template-columns: 1fr;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .experience-levels {
        grid-template-columns: 1fr;
    }
    
    .event-testimonials {
        padding: 1.5rem;
    }
    
    .modal {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}