@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');
@import url('./root-color.css');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 5px;
}

.pt-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

a {
    text-decoration: none;
    display: inline-block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: nowrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: end;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--white);
}

/* auth */

.auth-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-image: url('../images/banner-1.png');
    background-size: cover;
    background-position: cover;

}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.auth-form {
    background: var(--white);
    ;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    height: 550px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: auto 5%;
}

.auth-title {
    text-align: center;
    color: var(--color-dark-maroon);
    ;
    font-size: 24px;
    font-weight: 600;
    font-family: "Philosopher", sans-serif;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-light-gray-2);
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-light-gray-2);
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-dark-maroon);
}

.password-field {
    position: relative;
}

.password-field .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--color-light-gray-2);
    font-size: 13px;
}

.remember-forget {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 15px 0 25px;
    font-size: 13px;
}


.forgot-password {
    color: var(--color-error-red-2);
    text-decoration: none;
    font-size: 13px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--color-light-pink-bg);
    color: var(--alert-color);
    ;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: var(--color-light-pink-hover);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--color-light-gray-4);
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--color-light-gray-5);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.google-signin {
    width: 100%;
    background: white;
    border: 1px solid var(--color-light-gray-6);
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: var(--color-light-gray-3);
    ;
}

.google-signin:hover {
    background: var(--color-light-gray-8);
    border-color: var(--color-light-gray-7);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: var(--color-light-gray-3);
    ;
    font-size: 13px;
}

.signup-link a {
    color: var(--color-error-red-2);
    text-decoration: none;
}

/* --- Add below this line --- */

/* Main container split */
.signin-main-container {
    display: flex;
    min-height: 80vh;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Left side: info/visual */
.signin-left {
    flex: 1.2;
    background: linear-gradient(135deg, #f7e7e1 0%, #e9d6f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 320px;
    padding: 0;
}
.signin-overlay {
    background: rgba(255,255,255,0.85);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 420px;
    margin: 40px;
    box-shadow: 0 8px 32px rgba(191,161,106,0.10);
    text-align: left;
}
.signin-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #a68c6d;
    font-family: "Philosopher", serif;
    margin-bottom: 18px;
    line-height: 1.2;
}
.signin-desc {
    color: #7a6b5b;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Right side: form */
.signin-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-width: 320px;
}
.signin-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(166,140,109,0.12);
    padding: 40px 32px 32px 32px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.signin-welcome {
    text-align: center;
    color: #a68c6d;
    font-size: 2rem;
    font-family: "Philosopher", serif;
    font-weight: 700;
    margin-bottom: 8px;
}
.signin-subtext {
    text-align: center;
    color: #bfa16a;
    font-size: 1rem;
    margin-bottom: 22px;
}

/* Social buttons */
.signin-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
}
.signin-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f5f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #bfa16a;
    border: 1.5px solid #e7e4df;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.signin-social-btn.fb:hover { background: #4267B2; color: #fff; border-color: #4267B2; }
.signin-social-btn.tw:hover { background: #1DA1F2; color: #fff; border-color: #1DA1F2; }
.signin-social-btn.li:hover { background: #0077b5; color: #fff; border-color: #0077b5; }

/* Divider */
.signin-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #bfa16a;
    font-size: 0.95rem;
    margin: 18px 0 18px 0;
    width: 100%;
}
.signin-divider::before,
.signin-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1.5px solid #e7e4df;
    margin: 0 10px;
}

/* Form tweaks */
.auth-form {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    max-width: 100%;
    margin: 0;
    height: auto;
}
.form-group label {
    color: #a68c6d;
    font-weight: 600;
    font-size: 1rem;
}
.form-group input {
    border: 1.5px solid #e7e4df;
    border-radius: 7px;
    font-size: 1rem;
    padding: 12px 14px;
    margin-bottom: 0;
}
.form-group input:focus {
    border-color: #bfa16a;
}
.password-field .toggle-password {
    color: #bfa16a;
    font-size: 1.1rem;
    right: 16px;
}
.remember-forget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 22px 0;
    font-size: 0.97rem;
}
.remember-me {
    color: #a68c6d;
    font-weight: 500;
    font-size: 0.97rem;
}
.forgot-password {
    color: #bfa16a;
    font-weight: 600;
    text-decoration: underline;
    font-size: 0.97rem;
}
.login-btn {
    background: linear-gradient(90deg, #bfa16a 0%, #a68c6d 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(191,161,106,0.10);
    transition: background 0.2s;
}
.login-btn:hover {
    background: linear-gradient(90deg, #a68c6d 0%, #bfa16a 100%);
}
.signup-link {
    color: #a68c6d;
    font-size: 1rem;
    margin-top: 18px;
}
.signup-link a {
    color: #bfa16a;
    font-weight: 700;
    text-decoration: underline;
}

/* logo inside left detail container */
.signin-overlay .signin-logo {
    display: block;
    margin: 0 auto 18px;
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* reduce top padding so logo + heading fit nicely */
.signin-overlay {
    padding-top: 36px; /* adjusted from 60px to reserve space for logo */
    padding-bottom: 60px;
}

/* responsive logo sizes */
@media (max-width: 900px) {
    .signin-overlay .signin-logo {
        width: 120px;
    }
}
@media (max-width: 600px) {
    .signin-overlay {
        padding-top: 20px;
        padding-bottom: 28px;
    }
    .signin-overlay .signin-logo {
        width: 100px;
        margin-bottom: 12px;
    }
}
@media (max-width: 360px) {
    .signin-overlay .signin-logo {
        width: 84px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .signin-main-container {
        flex-direction: column;
    }
    .signin-left, .signin-right {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
    }
    .signin-overlay {
        margin: 32px auto;
        padding: 40px 18px;
        max-width: 95vw;
    }
    .signin-card {
        margin: 32px auto;
        padding: 32px 12px;
        max-width: 95vw;
    }
    /* Hide left panel on small screens */
    .signin-left {
        display: none;
    }
}
@media (max-width: 600px) {
    .signin-overlay {
        padding: 24px 6vw;
        margin: 18px auto;
    }
    .signin-card {
        padding: 18px 4vw;
        margin: 18px auto;
    }
    .signin-heading {
        font-size: 1.3rem;
    }
    .signin-welcome {
        font-size: 1.3rem;
    }
    .signin-subtext {
        font-size: 0.95rem;
    }
}