@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}


body {
    background-color: #f5eee5;

    background-image:

        /* TOP WAVES - ORANGE, GOLD & BLACK */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'%3E%3Cpath d='M0 65 C300 155 500 -10 800 65 S1300 155 1600 55' fill='none' stroke='%23E89B3C' stroke-width='3' opacity='.65'/%3E%3Cpath d='M0 95 C300 185 500 20 800 95 S1300 185 1600 85' fill='none' stroke='%23D4A017' stroke-width='2.5' opacity='.65'/%3E%3Cpath d='M0 125 C300 215 500 50 800 125 S1300 215 1600 115' fill='none' stroke='%2329231F' stroke-width='2' opacity='.35'/%3E%3C/svg%3E"),

        /* BOTTOM WAVES - ORANGE, GOLD & BLACK */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'%3E%3Cpath d='M0 125 C300 35 500 210 800 120 S1300 35 1600 115' fill='none' stroke='%23E89B3C' stroke-width='3' opacity='.55'/%3E%3Cpath d='M0 150 C300 60 500 235 800 145 S1300 60 1600 140' fill='none' stroke='%23D4A017' stroke-width='2.5' opacity='.60'/%3E%3Cpath d='M0 175 C300 85 500 260 800 170 S1300 85 1600 165' fill='none' stroke='%2329231F' stroke-width='2' opacity='.30'/%3E%3C/svg%3E");


    background-repeat: no-repeat, no-repeat;

    background-position: center top, center bottom;

    background-size: 100% 180px, 100% 220px;

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding: 20px;
}


.auth-container{
    width:1050px;
    min-height:620px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.12),
        0 5px 15px rgba(0,0,0,0.05);
}



/* =========================================
   LOGIN BACKGROUND SLIDESHOW
========================================= */

.left-section {
    flex: 0 0 48%;
    position: relative;
    overflow: hidden;

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 40px;
    text-align: center;
    gap: 10px;

    background: #6F4E37;
}

/* Slideshow container */
.slideshow-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Background layers */
.slideshow-layer {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slideshow-layer.active {
    opacity: 1;
}

/* Brown transparent overlay */
.left-section::before {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(111, 78, 55, 0.40),
        rgba(111, 78, 55, 0.48)
    );

    z-index: 1;
    pointer-events: none;
}

/* Logo and welcome text */
.left-section > img,
.left-section > h1,
.left-section > p {
    position: relative;
    z-index: 2;
}

.left-section img {
    width: 200px;
    margin-bottom: 20px;
}

.left-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.left-section p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 350px;
}

@media (prefers-reduced-motion: reduce) {
    .slideshow-layer {
        transition: none;
    }
}


.left-section img{
    width:200px;
    margin-bottom:20px;
}

.left-section h1{
    font-size:32px;
    margin-bottom:15px;
    font-weight:600;
}

.left-section p{
    font-size:15px;
    line-height:1.6;
    max-width:350px;
}

.right-section{
    flex: 0 0 52%;
    padding:40px 55px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#ffffff;
    min-width:0;
}

.form-title{
    font-size:30px;
    color:#6F4E37;
    margin-bottom:25px;
    text-align:center;
}

.input-group{
    margin-bottom:16px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    color:#555;
    font-size:14px;
}

.input-group input{
    width:100%;
    padding:10px 14px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    transition:0.3s;
}

.input-group input:focus{
    border-color:#E89B3C;
}

.auth-btn{
    width:100%;
    padding:12px;
    background:#E89B3C;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:500;
    transition:0.3s;
}

.auth-btn:hover{
    background:#d8841d;
}

.bottom-text{
    text-align:center;
    margin-top:20px;
    font-size:14px;
}

.bottom-text a{
    color:#E89B3C;
    text-decoration:none;
    font-weight:500;
}

.error-message{
    background:#ffe5e5;
    color:#c0392b;
    padding:12px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;
    font-size:14px;
}

.success-message{
    background:#e8f8ec;
    color:#27ae60;
    padding:12px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;
    font-size:14px;
}
input::placeholder{
    color:#aaa;
    font-size:13px;
}
.password-wrapper{
    position:relative;
}

.password-wrapper input{
    width:100%;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:13px;
    background:none;
    border:none;
    outline:none;
    color:#8b5e3c;
    font-weight:600;
}
.password-strength{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
}

.weak{
    color:#dc3545;
}

.medium{
    color:#ffc107;
}

.strong{
    color:#28a745;
}
.password-match{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
}

.match{
    color:#28a745;
}

.not-match{
    color:#dc3545;
}
.capslock-warning{
    margin-top:8px;
    font-size:14px;
    font-weight:600;
    color:#dc3545;
}
.forgot-password-link {
    text-align: right;
    margin-top: 8px;
}

.forgot-password-link a {
    color: #d99032;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: #b87320;
    text-decoration: underline;
}
.forgot-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}
