:root {
    --primary-color: #00ddeb;
    --secondary-color: #4682b4;
    --background-light: #f5f7fa;
    --background-medium: #d3d3d3;
    --text-dark: #333333;
    --text-medium: #666666;
    --black: #000000;
    --white: #ffffff;
    --red: #ff6f61;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
}

.auth-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.9), rgba(211, 211, 211, 0.7)), url('../images/auth-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-carousel {
    padding: 20px;
    text-align: center;
}

.carousel-content {
    position: relative;
}

.image-wrapper {
    position: relative;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 350px;
    height: 350px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.15);
    background: var(--secondary-color);
}

.icon-circle i {
    font-size: 1.2rem;
    color: var(--white);
}

.icon-top-left {
    top: 10px;
    left: 10px;
}

.icon-top-right {
    top: 10px;
    right: 10px;
}

.icon-bottom-left {
    bottom: 10px;
    left: 10px;
}

.icon-bottom-right {
    bottom: 10px;
    right: 10px;
}

.carousel-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.carousel-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.auth-form {
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.auth-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.back-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.back-link i {
    margin-right: 8px;
}

.back-link:hover {
    color: var(--red);
}

.social-login {
    text-align: center;
    margin-bottom: 25px;
}

.social-login p {
    margin-bottom: 15px;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 1rem;
}

.social-login-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.auth-form .btn-social {
    border-radius: 50%;
    padding: 10px;
    background: var(--black);
    color: var(--white);
    border: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form .btn-social:hover {
    background: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.4);
}

.auth-form .btn-social i {
    margin: 0;
}

.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), var(--black));
}

.toggle-password {
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 1.2rem;
    position: absolute;
    padding: 5px;
    z-index: 1;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.auth-form .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    padding-right: 40px; /* Extra space for eye icon */
}

.auth-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(70, 130, 180, 0.3);
    outline: none;
}

.auth-form .btn-primary {
    border-radius: 50px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.auth-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 221, 235, 0.4);
}

.auth-form a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-form a:hover {
    color: var(--red);
}

.carousel-control-prev, .carousel-control-next {
    width: 8%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.report-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.report-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.report-icon a:hover {
    transform: scale(1.1);
    background: var(--black);
}

.report-icon a i {
    margin: 0;
}

.report-message {
    position: absolute;
    right: 60px;
    background: var(--white);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.report-icon a:hover .report-message {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .auth-section {
        padding: 40px 0;
    }
    .auth-container {
        max-width: 90%;
        padding: 20px;
        border-radius: 15px;
    }
    .auth-carousel {
        padding: 15px;
        margin-bottom: 30px;
    }
    .image-wrapper {
        max-width: 280px;
        height: 280px;
    }
    .carousel-content h3 {
        font-size: 1.6rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .auth-form {
        padding: 20px;
    }
    .auth-form h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 30px 0;
        min-height: auto;
    }
    .auth-container {
        max-width: 95%;
        padding: 15px;
        border-radius: 12px;
        box-shadow: none;
    }
    .auth-carousel {
        padding: 10px;
        margin-bottom: 20px;
    }
    .image-wrapper {
        max-width: 200px;
        height: 200px;
    }
    .icon-circle {
        width: 30px;
        height: 30px;
    }
    .icon-circle i {
        font-size: 1rem;
    }
    .icon-top-left {
        top: 5px;
        left: 5px;
    }
    .icon-top-right {
        top: 5px;
        right: 5px;
    }
    .icon-bottom-left {
        bottom: 5px;
        left: 5px;
    }
    .icon-bottom-right {
        bottom: 5px;
        right: 5px;
    }
    .carousel-content h3 {
        font-size: 1.2rem;
    }
    .carousel-content p {
        font-size: 0.85rem;
    }
    .auth-form {
        padding: 15px;
        box-shadow: none;
    }
    .auth-form h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .social-login-buttons {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }
    .auth-form .btn-social {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .divider {
        margin: 20px 0;
    }
    .divider span {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    .auth-form .form-label {
        font-size: 0.9rem;
    }
    .auth-form .form-control {
        padding: 8px;
        font-size: 0.9rem;
        padding-right: 35px; /* Adjusted for mobile eye icon */
    }
    .auth-form .btn-primary {
        padding: 8px;
        font-size: 0.9rem;
    }
    .toggle-password {
        right: 10px;
        font-size: 1rem;
        padding: 4px;
        margin-top: 10px;
    }
    .back-link {
        text-align: center;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }
    .report-icon {
        bottom: 15px;
        right: 15px;
    }
    .report-icon a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .report-message {
        font-size: 0.75rem;
        padding: 5px 8px;
        right: 50px;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 20px 0;
    }
    .auth-container {
        max-width: 100%;
        padding: 10px;
        border-radius: 10px;
    }
    .auth-carousel {
        padding: 5px;
        margin-bottom: 10px;
    }
    .image-wrapper {
        max-width: 150px;
        height: 150px;
    }
    .icon-circle {
        width: 25px;
        height: 25px;
    }
    .icon-circle i {
        font-size: 0.9rem;
    }
    .icon-top-left, .icon-top-right, .icon-bottom-left, .icon-bottom-right {
        top: 2px;
        left: 2px;
        bottom: 2px;
        right: 2px;
    }
    .carousel-content h3 {
        font-size: 1.1rem;
    }
    .carousel-content p {
        font-size: 0.8rem;
    }
    .auth-form {
        padding: 10px;
    }
    .auth-form h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .auth-form .form-control {
        padding: 6px;
        font-size: 0.85rem;
        padding-right: 30px; /* Adjusted for mobile eye icon */
    }
    .auth-form .form-label {
        font-size: 0.85rem;
    }
    .auth-form .btn-primary {
        padding: 6px;
        font-size: 0.85rem;
    }
    .auth-form a {
        font-size: 0.85rem;
    }
    .social-login-buttons {
        gap: 8px;
    }
    .auth-form .btn-social {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    .divider span {
        font-size: 0.85rem;
    }
    .toggle-password {
        right: 8px;
        font-size: 0.9rem;
        padding: 3px;
        margin-top: 10px;
    }
    .back-link {
        text-align: center;
        margin: 0 auto;
        display: block;
        width: fit-content;
    }
    .report-icon a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    .report-message {
        font-size: 0.7rem;
        padding: 4px 6px;
        right: 45px;
    }
}