* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #fdf9ed;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar-section {
    width: 100%;
    background: rgb(255, 249, 225);
    font-family: 'Oswald', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}

.navbar img {
    height: 100px;
}

.back-button {
    background-color: rgba(50,50,52,255);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Container Styles */
.container_login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 150px 20px 50px;
}

.box {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-box {
    width: 100%;
    max-width: 450px;
}

.form-box header {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: rgba(50,50,52,255);
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 25px;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: rgba(50,50,52,255);
}

/* Password Container */
.password-container {
    position: relative;
}

.password-container .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: rgba(50,50,52,255);
}

/* Forgot Password Link */
.forgot-password-link {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password-link a {
    color: rgba(50,50,52,255);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: #333;
    text-decoration: underline;
}

/* Error Message */
.error-message {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffe0e0;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    display: none;
}

.error-message i {
    margin-right: 5px;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 15px;
    background: rgba(50,50,52,255);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Links */
.links {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.links a {
    color: rgba(50,50,52,255);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #333;
    text-decoration: underline;
}



/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 2.5s ease, visibility 3s ease;
}

#loading-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 2% 4%;
        flex-wrap: wrap;
    }

    .navbar img {
        height: 80px;
    }

    .container_login {
        padding: 130px 15px 30px;
    }

    .box {
        padding: 30px 25px;
    }

    .form-box header {
        font-size: 26px;
    }

    .back-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .navbar img {
        height: 70px;
    }

    .box {
        padding: 25px 20px;
    }

    .form-box header {
        font-size: 24px;
    }
}