﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

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

body,
input {
    font-family: 'Montserrat', sans-serif;
}

.container {
    position: relative;
    width: 100%;
    background-color: #fff;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
}

/* Left panel with logo */
.logo-panel {
    width: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    width: 300px;
    max-width: 80%;
    height: auto;
}

.logo-text {
    color: #990044;
    margin-top: 15px;
    font-weight: 700;
    font-size: 24px;
}

/* Right panel with form */
.forms-container {
    width: 50%;
    background: linear-gradient(135deg, #3c1053 0%, #1d0524 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.signin-signup {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.input-field {
    max-width: 380px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    height: 55px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
    position: relative;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.5s;
    font-size: 1.1rem;
}

/* Updated input and select styles */
.input-field input,
.input-field select {
    background: transparent !important;
    outline: none;
    border: none !important;
    line-height: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: white !important;
    width: 100%;
    height: 100%;
    padding-left: 10px;
    box-shadow: none !important;
}

.input-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-field select option {
    background-color: #3c1053;
    color: white;
}

    /* Only show dropdown arrow for select elements */
    .input-field select + .input-field::after,
    .input-field:has(select)::after {
        content: "\f078";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 15px;
        top: 0;
        line-height: 55px;
        color: rgba(255, 255, 255, 0.7);
        pointer-events: none;
    }

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.btn {
    width: 150px;
    background-color: #990044;
    border: none;
    outline: none;
    height: 49px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    background-color: #7A0033;
}

.btn-primary {
    background-color: #66194C !important;
    color: #fff !important;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background-color: #5b153e !important;
    color: #fff !important;
    border: 1px solid #fff;
}

.btn-info {
    background-color: #990044 !important;
    color: #fff !important;
    border: 1px solid #fff;
    width: 100%;
    max-width: 380px;
}

.btn-info:hover {
    background-color: #7A0033 !important;
    color: #fff !important;
    border: 1px solid #fff;
}

#submitFields {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Text error messages */
.text-danger {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    padding-left: 15%;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .logo-panel, .forms-container {
        width: 100%;
        height: auto;
    }

    .logo-panel {
        padding: 2rem 1rem;
    }

    .forms-container {
        padding: 2rem 1rem;
    }

    .signin-signup {
        padding: 1rem;
    }
}