﻿body {
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #f4f6f9;
}

.main-container {
    min-height: 100vh;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-section {
    background: linear-gradient(135deg, #58b1d1 0%, #58b1d1 100%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-content-wrapper {
    position: relative;
    z-index: 2;
}

.sidebar-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: 'Times New Roman', serif;
}

.sidebar-divider {
    position: relative;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 80%;
    margin: 0 auto 30px auto;
}

    .sidebar-divider::after {
        content: '';
        position: absolute;
        top: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 7px;
        height: 7px;
        background-color: #0dcaf0;
        border-radius: 50%;
    }

.sidebar-text {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    text-align: justify;
    margin-bottom: 20px;
    font-weight: 300;
    color: black;
}

.login-btn {
    background-color: #5bc0de;
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

    .login-btn:hover {
        background-color: #31b0d5;
        color: white;
        transform: translateY(-2px);
    }

.diamond-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

    .diamond-rain i {
        position: absolute;
        color: #fff;
        top: -50px;
        animation: fall linear infinite;
        opacity: 0;
    }

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(110vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

.diamond-rain i:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
    font-size: 10px;
}

.diamond-rain i:nth-child(2) {
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
    font-size: 20px;
}

.diamond-rain i:nth-child(3) {
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
    font-size: 15px;
}

.diamond-rain i:nth-child(4) {
    left: 50%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 25px;
}

.diamond-rain i:nth-child(5) {
    left: 65%;
    animation-duration: 6s;
    animation-delay: 3s;
    font-size: 12px;
}

.diamond-rain i:nth-child(6) {
    left: 80%;
    animation-duration: 9s;
    animation-delay: 1s;
    font-size: 18px;
}

.diamond-rain i:nth-child(7) {
    left: 90%;
    animation-duration: 4s;
    animation-delay: 4s;
    font-size: 14px;
}

.diamond-rain i:nth-child(8) {
    left: 15%;
    animation-duration: 11s;
    animation-delay: 5s;
    font-size: 22px;
}

.diamond-rain i:nth-child(9) {
    left: 55%;
    animation-duration: 5s;
    animation-delay: 2s;
    font-size: 10px;
}

.diamond-rain i:nth-child(10) {
    left: 70%;
    animation-duration: 8s;
    animation-delay: 0.5s;
    font-size: 16px;
}

.form-section {
    padding: 40px;
    height: 100vh;
    overflow-y: auto;
    background-color: #fff;
}

.section-title {
    color: #58b1d1;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-control, .form-select {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 5px;
    box-shadow: none !important;
    background-image: linear-gradient(to right, #3498db, #3498db);
    background-position: bottom center;
    background-size: 0% 2px;
    background-repeat: no-repeat;
    transition: 0.3s;
}

    .form-control:focus, .form-control:hover, .form-select:focus, .form-select:hover {
        border-bottom: 1px solid #ccc;
        background-size: 100% 2px;
    }

.form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
    margin-top: 5px;
}

.upload-box {
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background-color: #fcfcfc;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

    .upload-box:hover {
        border-color: #3498db;
        background-color: #f0f7fb;
    }

.upload-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.submit-btn {
    background-color: #58b1d1;
    border: none;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 4px;
    width: 100%;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .submit-btn:hover {
        background-color: #31b0d5;
        color: white;
        transform: translateY(-2px);
    }

.lang-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background-color: #5bc0de;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .lang-btn:hover {
        background-color: #31b0d5;
        transform: translateY(-1px);
    }

    .lang-btn.active-lang {
        background-color: #2c3e50;
        font-weight: 600;
    }

@media (max-width: 991px) {
    .sidebar-section {
        padding: 30px;
        min-height: 400px;
    }

    .form-section {
        height: auto;
        padding: 20px;
    }

    .lang-switcher {
        right: 20px;
        top: 10px;
    }
}
