@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: url("/images/hero1.jpg") no-repeat center center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    width: 820px;
    max-width: 100%;
    min-height: 480px;
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
}

.container form {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}

.container input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    margin: 8px 0;
    padding: 12px 15px;
    font-size: 13px;
    border-radius: 10px;
    width: 100%;
    outline: none;
    color: white;
}

.container input::placeholder {
    color: #e5e7eb;
}

.container button {
    background: #f97316;
    color: white;
    font-size: 12px;
    padding: 10px 45px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in { left: 0; width: 50%; z-index: 2; }
.container.active .sign-in { transform: translateX(100%); }

.sign-up { left: 0; width: 50%; opacity: 0; z-index: 1; }
.container.active .sign-up { transform: translateX(100%); opacity: 1; z-index: 5; }

.toggle-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    z-index: 1000;
}

.container.active .toggle-container {
    transform: translateX(-100%);
}

.toggle {
    background: linear-gradient(135deg, #f97316, #fb923c);
    height: 100%;
    color: white;
    position: relative;
    left: -100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container.active .toggle {
    transform: translateX(50%);
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
}

.toggle-left { transform: translateX(-200%); }
.container.active .toggle-left { transform: translateX(0); }

.toggle-right { right: 0; }

/* LOGO ON AUTH GLASS */
.auth-logo{
    position:absolute;
    top:22px;
    left:22px;
    z-index:20;
}

.auth-logo img{
    height:48px;
    cursor:pointer;
    transition:0.3s;
}

.auth-logo img:hover{
    transform:scale(1.08);
}

.auth-logo.light img{
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}

/* GLASS FIX (prevents background text showing) */
.glass-panel{
    background: rgba(25, 30, 45, 0.78) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

