/* Anggota Page Styling */
.anggota-login-section {
    background-color: #9b59b6;
    /* Fallback */
    background: linear-gradient(135deg, #a65ce6 0%, #9042d6 100%);
    min-height: 80vh;
    /* Adjust as needed */
    padding: 60px 0;
    position: relative;
}

/* Typography */
.anggota-login-section h2,
.anggota-login-section p {
    color: white;
}

.opacity-90 {
    opacity: 0.9;
}

/* Login Card (Right Side) */
.login-card {
    /* Transparent / Glass effect if desired, or simple layout */
    border-radius: 20px;
    color: white;
    /* Label colors */
}

.login-card h3 {
    text-align: left;
    /* Image shows "Masuk" aligned left relative to form */
    font-size: 2rem;
}

/* Inputs */
.login-input {
    background-color: rgba(255, 255, 255, 0.25) !important;
    /* Semi-transparent white */
    border: none !important;
    border-radius: 25px !important;
    /* Pill shape inputs per image */
    color: white !important;
    padding: 12px 25px;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.login-input:focus {
    background-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
    color: white !important;
}

/* Labels */
.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Button */
.btn-login {
    background: linear-gradient(135deg, #FF85A5 0%, #ff6b91 100%);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 133, 165, 0.4);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 133, 165, 0.6);
}

/* Password Toggle Eye */
.position-relative {
    position: relative;
}

.btn-toggle-password {
    background: none;
    border: none;
    color: white;
    position: absolute;
    right: 20px;
    top: 38px;
    /* Adjust based on label height + padding */
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
}

.btn-toggle-password:hover {
    opacity: 1;
}

/* Layered Carousel Styles */
.illustration-carousel-wrapper {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
}

.illustration-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

/* Carousel Images - Layered with z-index */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Indicators */
.illustration-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.illustration-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.illustration-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.illustration-indicators .indicator.active {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .illustration-carousel {
        height: 250px;
    }

    .illustration-carousel-wrapper {
        max-width: 100%;
    }
}

/* Layout Improvements for Illustration and Text */
#Illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

#Illustration .illustration-carousel-wrapper {
    max-width: 100%;
    width: 100%;
}

#Illustration .illustration-carousel {
    height: 350px;
}

/* Smaller Text Styling */
#AnggotaTeks {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}

#AnggotaTeks h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

#AnggotaTeks h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

#AnggotaTeks p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Login Column Alignment */
#Login {
    display: flex;
    align-items: center;
}

/* Enhanced Responsive adjustments */
@media (max-width: 991px) {
    #Illustration .illustration-carousel {
        height: 300px;
    }

    #AnggotaTeks {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 20px;
    }

    #AnggotaTeks h3 {
        font-size: 1.1rem;
    }

    #AnggotaTeks h2 {
        font-size: 1.5rem;
    }

    #AnggotaTeks p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    #Illustration .illustration-carousel {
        height: 220px;
    }

    #AnggotaTeks h2 {
        font-size: 1.3rem;
    }
}

/* Member List - Back to Simple but Clean */
.anggota-list-simple {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#anggotaList span {
    display: inline-block;
    padding: 2px 8px;
    transition: all 0.2s ease;
}

#anggotaList span:hover {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Elegant Enhancements */
.glass-effect {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Micro-Refinements */
.login-input {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

.login-input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}