* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes kenBurnsSlide {
    0% { opacity: 0; transform: scale(1.1) translate(0, 0); }
    10% { opacity: 1; }
    85% { opacity: 1; transform: scale(1.2) translate(-2%, 2%); }
    100% { opacity: 0; transform: scale(1.2) translate(-2%, 2%); }
}

body {
    background: #111111;;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

.auth-wrapper {
    position: relative; 
    width: 100%;
    max-width: 850px; 
    min-height: 520px;
    background: #ffffff; 
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

.auth-form-container {
    position: absolute; 
    inset: 0;
    z-index: 5; 
    display: flex; 
}

.auth-form-login,
.auth-form-register {
    width: 50%;
    height: 100%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.auth-form-login {
    justify-content: center; 
    overflow-y: hidden;
    right: 0; 
    opacity: 1; 
}

.auth-form-register {
    justify-content: flex-start;
    overflow-y: auto;
    left: 0; 
}

.auth-overlay-panel {
    position: absolute;
    top: 0;
    left: 0; 
    width: 50%;
    height: 100%;
    background: #111;
    overflow: hidden; 
    z-index: 10; 
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55); 
}

.auth-slideshow {
    position: absolute;
    inset: 0;
}

.auth-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    animation: kenBurnsSlide 20s infinite; 
}

.auth-slideshow .slide.is-active { opacity: 1; transform: scale(1); }
.auth-slideshow .slide:nth-child(1) { background-image: url('../img/Gallery-Homepage/foto 1.JPG'); }
.auth-slideshow .slide:nth-child(2) { background-image: url('../img/Gallery-Homepage/foto 2.JPG'); animation-delay: 5s; }
.auth-slideshow .slide:nth-child(3) { background-image: url('../img/Gallery-Homepage/foto 3.JPG'); animation-delay: 10s; }
.auth-slideshow .slide:nth-child(4) { background-image: url('../img/Gallery-Homepage/foto 4.JPG'); animation-delay: 15s; }

.auth-wrapper.is-register-view .auth-overlay-panel {
    transform: translateX(100%); 
}

.auth-wrapper.is-register-view .auth-form-login {
    opacity: 0;
    pointer-events: none;
}

.auth-wrapper.is-register-view .auth-form-register {
    opacity: 1;
    pointer-events: all;
    animation: fadeInUp 0.8s 0.4s ease backwards; 
}

.auth-form-login {
    animation: fadeInUp 0.8s 0.4s ease backwards;
}

.auth-form-login h2,
.auth-form-register h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.auth-form-login p,
.auth-form-register p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.password-icon:hover {
    color: #111;
}

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 8px;
    color: #111;
    font-size: 0.95rem;
    transition: all 0.3s ease; 
}

.password-wrapper input {
    padding-right: 40px !important; 
}

.auth-form input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
    transform: scale(1.02);
}

.form-options {
    display: flex;
    justify-content: flex-end; 
    margin-top: -5px;
    margin-bottom: 12px;
}

.form-options a {
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 8px;
    background: #111; 
    color: #fff; 
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.auth-link {
    text-align: center;
    margin-top: 18px;
    font-size: 0.9rem;
    color: #555;
}

.auth-link a {
    color: #111; 
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-alert { display: none; }

.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, -150px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    min-width: 300px;
    background: rgba(30, 30, 30, 0.85);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
    opacity: 1;
    transform: translate(-50%, 0); 
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.notification-close {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1); 
    border: none;
    border-radius: 6px;
    color: #eee; 
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-success .notification-icon { color: #10b981; }
.notification-error .notification-icon { color: #ef4444; }
.notification-warning .notification-icon { color: #f59e0b; }

.verify-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    min-height: auto;
    background: #ffffff; 
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px 40px;
    animation: fadeInUp 0.8s 0.2s ease backwards;
}

.verification-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.verification-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.verification-icon i {
    font-size: 36px;
    color: #fff;
}

.verification-status.is-success .verification-icon {
    background: #198754;
}

.verification-status.is-error .verification-icon {
    background: #dc3545;
}

.verification-status h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.verification-status p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
}

.auth-left-panel {
    position: absolute;
    top: 0;
    left: 0; 
    width: 50%;
    height: 100%;
    overflow: hidden; 
    z-index: 10; 
}

.auth-right-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 5;
}

.auth-right-panel .auth-form-container {
    position: relative;
    width: 100% !important;
    height: 100%;
    overflow: hidden; 
}

.auth-right-panel .auth-form-login,
.auth-right-panel .auth-form-register,
.auth-right-panel .auth-form-reset {
    width: 100%;
    opacity: 1;
    left: 0;
    right: auto;
    height: 100%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    overflow-y: auto;
    background: #ffffff;
    position: absolute;
    top: 0;
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.auth-right-panel .auth-form-login {
    transform: translateX(0);
}

.auth-right-panel .auth-form-register {
    transform: translateX(100%);
}

.auth-right-panel .auth-form-reset {
    transform: translateX(200%);
}

.auth-wrapper.is-code-view .auth-form-login {
    transform: translateX(-100%);
}

.auth-wrapper.is-code-view .auth-form-register {
    transform: translateX(0);
}

.auth-wrapper.is-code-view .auth-form-reset {
    transform: translateX(100%);
}

.auth-wrapper.is-reset-view .auth-form-login {
    transform: translateX(-200%);
}

.auth-wrapper.is-reset-view .auth-form-register {
    transform: translateX(-100%);
}

.auth-wrapper.is-reset-view .auth-form-reset {
    transform: translateX(0);
}

 
@media (max-width: 1024px) {
    .auth-wrapper {
        max-width: 700px;
    }
    
    .auth-form-login,
    .auth-form-register,
    .auth-right-panel .auth-form-login,
    .auth-right-panel .auth-form-register,
    .auth-right-panel .auth-form-reset {
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .auth-wrapper {
        max-width: 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .auth-overlay-panel {
        position: relative;
        width: 100%;
        height: 180px;
        left: 0;
        top: 0;
        transform: none !important;
        border-radius: 16px 16px 0 0;
    }
    
    .auth-wrapper.is-register-view .auth-overlay-panel {
        transform: none !important;
    }
    
    .auth-form-container {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
    }
    
    .auth-form-login,
    .auth-form-register {
        position: relative;
        width: 100%;
        height: auto;
        padding: 25px 20px;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    .auth-form-login {
        display: flex;
    }
    
    .auth-form-register {
        display: none;
    }
    
    .auth-wrapper.is-register-view .auth-form-login {
        display: none;
    }
    
    .auth-wrapper.is-register-view .auth-form-register {
        display: flex;
    }
    
    .auth-form-login h2,
    .auth-form-register h2 {
        font-size: 1.4rem;
    }
    
    .auth-form-login p,
    .auth-form-register p {
        font-size: 0.9rem;
    }
    
    .auth-form input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    .password-wrapper input {
        padding-right: 38px !important;
    }
    
    .auth-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .auth-left-panel {
        position: relative;
        width: 100%;
        height: 180px;
        left: 0;
    }
    
    .auth-right-panel {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
    }
    
    .auth-right-panel .auth-form-container {
        position: relative;
    }
    
    .auth-right-panel .auth-form-login,
    .auth-right-panel .auth-form-register,
    .auth-right-panel .auth-form-reset {
        position: relative;
        width: 100%;
        padding: 25px 20px;
        transform: none !important;
        display: none;
    }
    
    .auth-right-panel .auth-form-login {
        display: flex;
    }
    
    .auth-wrapper.is-code-view .auth-right-panel .auth-form-login {
        display: none;
    }
    
    .auth-wrapper.is-code-view .auth-right-panel .auth-form-register {
        display: flex;
    }
    
    .auth-wrapper.is-reset-view .auth-right-panel .auth-form-register {
        display: none;
    }
    
    .auth-wrapper.is-reset-view .auth-right-panel .auth-form-reset {
        display: flex;
    }
    
    .verify-wrapper {
        max-width: 100%;
        padding: 25px 20px;
    }
    
    .verification-icon {
        width: 70px;
        height: 70px;
    }
    
    .verification-icon i {
        font-size: 32px;
    }
    
    .verification-status h2 {
        font-size: 1.4rem;
    }
    
    .verification-status p {
        font-size: 0.9rem;
    }
    
    .notification {
        max-width: calc(100% - 30px);
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
        padding-top: 10px;
    }
    
    .auth-wrapper {
        border-radius: 12px;
    }
    
    .auth-overlay-panel,
    .auth-left-panel {
        height: 150px;
        border-radius: 12px 12px 0 0;
    }
    
    .auth-form-login,
    .auth-form-register,
    .auth-right-panel .auth-form-login,
    .auth-right-panel .auth-form-register,
    .auth-right-panel .auth-form-reset {
        padding: 20px 15px;
    }
    
    .auth-form-login h2,
    .auth-form-register h2 {
        font-size: 1.3rem;
    }
    
    .auth-form-login p,
    .auth-form-register p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .auth-form label {
        font-size: 0.8rem;
    }
    
    .auth-form input {
        font-size: 0.85rem;
        padding: 9px 12px;
    }
    
    .form-options {
        margin-bottom: 10px;
    }
    
    .form-options a {
        font-size: 0.8rem;
    }
    
    .auth-btn {
        padding: 9px;
        font-size: 0.85rem;
    }
    
    .auth-link {
        font-size: 0.85rem;
        margin-top: 15px;
    }
    
    .notification {
        padding: 12px 16px;
        min-width: 260px;
    }
    
    .notification-message {
        font-size: 13px;
    }
    
    .verify-wrapper {
        padding: 20px 15px;
    }
    
    .verification-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .verification-icon i {
        font-size: 28px;
    }
    
    .verification-status h2 {
        font-size: 1.2rem;
    }
    
    .verification-status p {
        font-size: 0.85rem;
    }
}