/* Registration Banner - Side Panel */
.registration-banner {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #353535;
    border: 3px solid #ab7442;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 30px 15px;
    width: 80px;
    height: 450px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: -4px 0 15px rgba(0,0,0,0.3);
    display: none; /* Hidden initially */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.registration-banner.show {
    display: flex;
}

.registration-banner:hover {
    width: 90px;
    box-shadow: -6px 0 20px rgba(171, 116, 66, 0.4);
    border-color: #1b95c5;
}

.registration-banner h2 {
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.registration-banner p {
    color: #1b95c5;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Modal Overlay */
.banner-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(53, 53, 53, 0.8);
    z-index: 1500;
    justify-content: flex-end;
    align-items: center;
}

.banner-modal-overlay.active {
    display: flex;
}

/* Modal Content - Slides from Right */
.banner-modal-content {
    background: #f5f5f5;
    padding: 40px;
    width: 450px;
    max-width: 90%;
    height: auto;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    animation: slideInFromRight 0.4s ease;
    border-radius: 12px 0 0 12px;
    margin: 10px 0;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.banner-modal-content.closing {
    animation: slideOutToRight 0.4s ease;
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.banner-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.banner-modal-content h2 {
    color: #1b95c5;
    font-size: 24px;
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.banner-close-btn {
    font-size: 28px;
    color: #353535;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    line-height: 1;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-close-btn:hover {
    color: #1b95c5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #353535;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #1b95c5;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ab7442;
}

.checkbox-group {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
    accent-color: #1b95c5;
}

.checkbox-group label {
    font-size: 14px;
    font-weight: normal;
    color: #353535;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg,#ab7442);
    color: #f5f5f5;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg,#b48e6a);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.banner-footer {
    margin-top: 20px;
    padding: 15px;
    background: rgba(27, 149, 197, 0.05);
    border-left: 3px solid #1b95c5;
    border-radius: 4px;
}

.banner-footer label {
    font-size: 12px;
    font-weight: normal;
    color: #353535;
    line-height: 1.6;
    display: block;
}

.banner-footer a {
    color: #1b95c5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.banner-footer a:hover {
    color: #ab7442;
    text-decoration: underline;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .registration-banner {
        width: 60px;
        height: 350px;
        padding: 25px 12px;
    }

    .registration-banner h2 {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .registration-banner p {
        font-size: 11px;
    }

    .registration-banner:hover {
        width: 70px;
    }

    .banner-modal-content {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .registration-banner {
        width: 50px;
        height: 300px;
        padding: 20px 10px;
        border-width: 2px;
    }

    .registration-banner h2 {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .registration-banner p {
        font-size: 10px;
    }

    .registration-banner:hover {
        width: 55px;
    }

    .banner-modal-content {
        padding: 30px 20px;
    }
}