﻿/* BASE */
body {
    font-family: "Segoe UI", sans-serif;
    background: #fff;
    font-size: 14px;
}

/* NAVBAR */
.nav-link {
    font-weight: 600;
    font-size: 14px;
}

.nav-link.active,
.nav-link:hover {
    color: #ff6a00 !important;
}

.navbar-logo {
    height: 65px;
}

.navbar-nav {
    gap: 12px;
}

/* TITLES */
.main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2a44;
}

.sub-title {
    font-size: 15px;
    color: #6c757d;
}

/* FEATURE CARDS */
.feature-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    height: 100%;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: #ff6a00;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.feature-img {
    width: 60px;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
}

.feature-text {
    font-size: 14px;
    color: #6c757d;
}

.navbar-expand-lg {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
}

/* LOGIN */
/*.login-main-card {
    padding-top: 20px;
}

.login-card {
    max-width: 420px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    background: #fff;
}*/
.login-main-card {
    display: flex;
    justify-content: center;
    /* horizontal center */
    align-items: center;
    /* vertical center */
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 100%;
    /* ensures vertical centering works */
}

/* LOGIN CARD */
.login-card {
    max-width: 420px;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.signup-card {
    max-width: 420px;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.signUp-content {
    margin: 10px 5px;
    /* top/bottom 60px desktop, left/right 15px */
}

.login-title {
    font-size: 20px;
    font-weight: 700;
}

/*.login-content {
    margin: 60px 15px 60px 15px;
}*/

.login-content {
    margin: 20px 15px;
    /* top/bottom 20px desktop, left/right 15px */
}

.card-logo {
    height: 70px;
    object-fit: contain;
}

/* BUTTONS */
.btn-login,
.btn-free {
    font-size: 15px;
    font-weight: 600;
}

.btn-login {
    background: #ff6a00;
    color: #fff;
}

.btn-login:hover {
    background: #e85c00;
}

.btn-free {
    background: #4db8ff;
    color: #fff;
}

.btn-free:hover {
    background: #2aa8ff;
}

/* FORGOT PASSWORD */
.forgot-password {
    text-align: right;
    margin-bottom: 12px;
}

.forgot-password a {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
}

/* FOOTER */
footer {
    font-size: 13px;
    color: #6c757d;
}

/* CONTAINER WIDTH */
.container {
    max-width: 1820px;
}

/* ================= MOBILE FIXES ================= */
@media (max-width: 768px) {

    /* LOGIN CARD FULL WIDTH */
    /*    .login-card {
        max-width: 100%;
        margin: 20px auto;
        min-height: auto;
        border-radius: 10px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }*/

    .login-main-card {
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: auto;
        /* let content shrink naturally */
    }

    .login-card {
        max-width: 100%;
        /* full width on mobile */
        margin: auto;
        /* horizontal center */
    }

    .signup-card {
        max-width: 100%;
        /* full width on mobile */
        margin: auto;
        /* horizontal center */
    }

    /*    .login-content {
        margin: 40px 15px 40px 15px;
    }
*/
    .login-content {
        margin: 40px 15px;
        /* smaller top/bottom margin on mobile */
    }

    .signUp-content {
        margin: 10px 5px;
        /* top/bottom 60px desktop, left/right 15px */
    }

    /* FORCE SINGLE COLUMN FEATURES */
    .feature-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* LOCK TEXT SIZE */
    .main-title {
        font-size: 26px;
    }

    .sub-title {
        font-size: 14px;
    }

    .feature-title {
        font-size: 15px;
    }

    .feature-text {
        font-size: 14px;
    }

    .login-title {
        font-size: 20px;
    }

    input.form-control {
        font-size: 15px;
        padding: 12px;
    }

    button {
        font-size: 15px;
    }

    /* HIDE NAV LINKS ON MOBILE */
    /*    .navbar-nav {
        display: none;
    }*/
}

/* FORM TOGGLE */
/* TOGGLE LOGIN / SIGNUP */
#login,
#signup,
#forgot {
    display: none;
}

#login.active,
#signup.active,
#forgot.active {
    display: block;
}


/* SWITCH TEXT */
.switch-text {
    font-size: 13px;
}

.switch-text a {
    color: #ff6a00;
    font-weight: 600;
    text-decoration: none;
}

/* INPUT CONSISTENCY */
.form-control,
.form-select {
    font-size: 14px;
    padding: 12px;
}

/* CHECKBOX */
.form-check-label {
    font-size: 13px;
}

.login-card {
    animation: fadeIn 0.3s ease-in-out;
}

.signup-card {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    padding-top: 10px;
    border-top: 1px solid #e6e6e6;
}

/* FORGOT PASSWORD CARD */
.forgot-card {
    max-width: 420px;
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: #fff;
    margin: auto;
}

.forgot-content {
    margin: 20px 15px;
}

.forgot-title {
    font-size: 20px;
    font-weight: 700;
}

.forgot-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.forgot-back a {
    font-size: 13px;
    color: #ff6a00;
    font-weight: 600;
    text-decoration: none;
}