.login-page-main {
    overflow: hidden;
    padding: 20px 0;
}

.main-wrapper {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Split Login Card */
.login-container {
    display: flex;
    width: 1000px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

.brand-side {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?auto=format&fit=crop&w=800&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.brand-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.overlay-text {
    z-index: 1;
    border-left: 3px solid #fff;
    padding-left: 20px;
}

.overlay-text h1 {
    font-size: 2.5rem;
    letter-spacing: 5px;
    color: #fff;
}

.overlay-text p {
    color: #adadad;
}

.form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: center;
}

.form-content {
    width: 100%;
}

h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.subtitle {
    margin-bottom: 30px;
    color: #adadad;
}

/* Floating Input Style */
.input-box {
    position: relative;
    margin-bottom: 30px;
}

.input-box input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    padding: 10px 0;
    color: white;
    font-size: 1rem;
    outline: none;
}

.input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #adadad;
    transition: 0.5s all ease;
    pointer-events: none;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -15px;
    font-size: 0.8rem;
    color: #ff4d4d;
}

.gold-btn {
    width: 100%;
    padding: 15px;
    background: #ff4d4d;
    border: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
}

.gold-btn:hover {
    background: #ff6262;
}

.links {
    margin-top: 30px;
    text-align: center;
}

.links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}
.links p{
    color: #adadad;
}
hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ffffff60;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-card {
    background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
    padding: 40px;
    width: 450px;
    border: 1px solid #adadad;
    position: relative;
    animation: popUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #ff4d4d;
}

/* Registration Grid */
.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full {
    grid-column: span 2;
}

/* --- RESPONSIVE / MEDIA QUERIES --- */
@media (max-width: 900px) {
    .login-container {
        width: 95%;
        height: auto;
        flex-direction: column;
    }

    .brand-side {
        height: 200px;
    }

    .form-side {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .grid-form {
        grid-template-columns: 1fr;
    }

    .grid-form .input-box {
        grid-column: span 2;
    }

    .overlay-text h1 {
        font-size: 1.8rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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