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

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050505;
    color: #fff;
    height: 100vh;
    overflow: hidden;
    /* Subtle ambient gradient */
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(50, 0, 100, 0.1) 0%, transparent 40%);
}

.container {
    display: flex;
    height: 100%;
    width: 100%;
    perspective: 1000px;
    /* For 3D effects */
}

/* Left Side - Visual */
.visual-side {
    flex: 1.5;
    background-color: #020202;
    position: relative;
    overflow: hidden;
}

.visual-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/assets/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    filter: contrast(1.1) saturate(1.1);
    transition: transform 10s ease;
}

/* Subtle zoom effect on the background image */
.visual-side:hover::before {
    transform: scale(1.05);
}

/* Right Side - Form */
.form-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    min-width: 400px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    /* Glassmorphism essence */
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.form-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-back svg {
    transition: transform 0.3s ease;
}

.btn-back:hover svg {
    transform: translateX(-2px);
}

h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Form Elements */
form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}











/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-right: 0.8rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: 'âœ“';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #666;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 15px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Google Button */
.btn-google {
    background-color: rgba(255, 255, 255, 0.05);
    color: #eee;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.google-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
}

/* Footer Link */
.login-link {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: #888;
}

.login-link a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-link a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        overflow-y: auto;
    }

    .visual-side {
        flex: none;
        height: 250px;
    }

    .form-side {
        flex: none;
        padding: 40px 24px;
        min-height: calc(100vh - 250px);
        border-radius: 24px 24px 0 0;
        margin-top: -24px;
        /* Pull up to cover bottom of image slightly */
    }

    body {
        overflow: auto;
        height: auto;
    }
}









 



.input-group {
 position: relative;
}

.input {
 border: solid 1.5px #9e9e9e;
 border-radius: 1rem;
 background: none;
 padding: 1rem;
 font-size: 1rem;
 color: #f5f5f5;
 transition: border 150ms cubic-bezier(0.4,0,0.2,1);
 width: 100%; /* added to preserve layout */
 box-sizing: border-box; /* added to preserve layout */
 margin-bottom: 1.25rem; /* added to preserve layout */
}

.user-label {
 position: absolute;
 left: 15px;
 color: #e8e8e8;
 pointer-events: none;
 transform: translateY(1rem);
 transition: 150ms cubic-bezier(0.4,0,0.2,1);
}

.input:focus, input:valid {
 outline: none;
 border: 1.5px solid #1a73e8;
}

.input:focus ~ label, input:valid ~ label {
 transform: translateY(-50%) scale(0.8);
 background-color: #212121;
 padding: 0 .2em;
 color: #2196f3;
}
