
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@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&display=swap');

* {
    margin: 0;
    padding: 0;
}


/* Landing Page */

#header {
    position: absolute;
    z-index: 10;
    width: 100%;
    background-color: rgba(12,32,55,0.0);
}

.navbar {
    padding: 30px 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4em;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
}

.navbar-brand .logo img {
    width: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.navbar-brand .logo span {
    color: rgb(212, 180, 36);
}

.bg-custom-dark {
    background: #2E4259;
}

.sb-topnav .navbar-nav .nav-item .nav-link {
    font-size: 16px;
    color: #dedede;
}

.navbar .navbar-toggler button {
    border: none;
    outline: none;
    border-radius: 0;
}

#login-btn, #logout-btn {
    border: none;
    outline: none;
    color: #275360;
    border-radius: 3px;
    margin-left: 40px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 1rem;
    background: #D4B424; 
}

.navbar-dark .navbar-brand {
    color: #dcdde1;
}

.nav-item {
    font-weight: 600;
    text-transform: uppercase;
    padding-left: 20px;
}

.navbar-dark .navbar-brand .nav-item .nav-link:hover {
    background: #dcdde1;
    color: #262626;
}

.main {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 95, 124, 0.3),
                         rgba(5, 50, 71, 0.5)), url('../imgs/landing_bg.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 220px 0 200px;
}

.main h2 {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 2.6em;
    color: #f6f6fa;
    text-transform: uppercase;
}

.main p {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0;
    font-size: 1.3em;
    color: #dcdde1;
}

.main .btn {
    background: #D4B424;  /* #566475; */
    color: #275360;       /* #dddde6; */
    font-weight: 400;
    border-radius: 3px;
    padding: 15px 25px;
}

#accessModal .modal-dialog {
    width: 750px;    
}

#accessModal .modal-content {
    border-radius: 5px;
}

#accessModal .modal-body {
    margin: 0;
    padding: 0;
    position: relative;
}

#accessModal .form-box {
    display: flex;
}

#accessModal .modal-body .modal-btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2em;
}

.form-box .form-details {
    max-width: 330px;
    width: 100%;
    color: #fff;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login .form-details {
    background: url("../imgs/login-panel.jpg");
    background-size: center;
    background-position: center;
}

.signup .form-details {
    background: url("../imgs/signup-panel.jpg");
    background-size: center;
    background-position: center;
}

.form-box h2 {
    margin-bottom: 30px;
}

.form-box .form-contents {
    width: 100%;
    padding: 35px;
}

.form-box form .input-field {
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.form-box form .input-field input {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 15px;
    font-size: 0.95rem;
    border-radius: 3px;
    border: 1px solid #717171;
}

.form-box .input-field input:focus {
    border-color: #00bcd4;
}

.form-box .input-field input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

.form-box form .input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #717171;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.form-box .input-field input:is(:focus, :valid) ~ label {
    color: #00bcd4;
    font-size: 0.75rem;
    transform: translateY(-120%);
}

.form-box a {
    color: #00bcd4;
    text-decoration: none;
}

.form-box a:hover {
    text-decoration: underline;
}

.form-box :where(.forgot-pass, .policy-text) {
    display: inline-flex;
    margin-top: 14px;
    font-size: 0.95rem;
}

.form-box form button {
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 3px;
    margin: 25px 0;
    color: #fff;
    cursor: pointer;
    background: #287ea0;  /* #00bcd4; */
    transition: 0.2s ease;
}

.form-box form button:hover {
    background: #349bc4;  /* #0097a7; */
}

.form-box .form-box .bottom-link {
    text-align: center;
}

#accessModal .signup,
#accessModal.show-signup .login {
    display: none;
}

#accessModal.show-signup .signup {
    display: flex;
}

.signup .policy-text {
    display: flex;
    align-items: center;
}

.signup .policy-text input {
    width: 14px;
    height: 14px;
    margin-right: 7px;
} 


/* Login Page */

.login-container {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 95, 124, 0.3),
                         rgba(5, 50, 71, 0.5)), url('../imgs/landing_bg.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}

.login-form-box {
    position: absolute;
    background: #fff;
    width: 50%;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate(-50%, -50%);
}

.login-form-box .login-form-details {
    max-width: 330px;
    width: 100%;
    color: #fff;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login .login-form-details {
    background: url("../imgs/login-panel.jpg");
    background-size: cover;
    background-position: center;
}

.login-form-box h2 {
    margin-bottom: 30px;
}

.login-form-box .login-form-contents {
    width: 100%;
    padding: 35px;
}

.login-form-box form .input-field {
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.login-form-box form .input-field input {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 15px;
    font-size: 0.95rem;
    border-radius: 3px;
    border: 1px solid #717171;
}

.login-form-box .input-field input:focus {
    border-color: #00bcd4;
}

.login-form-box .input-field input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

.login-form-box form .input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #717171;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.login-form-box .input-field input:is(:focus, :valid) ~ label {
    color: #00bcd4;
    font-size: 0.75rem;
    transform: translateY(-120%);
}

.login-form-box a {
    color: #00bcd4;
    text-decoration: none;
}

.login-form-box a:hover {
    text-decoration: underline;
}

.login-form-box :where(.forgot-pass, .policy-text) {
    display: inline-flex;
    margin-top: 14px;
    font-size: 0.95rem;
}

.login-form-box form button {
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 3px;
    margin: 25px 0;
    color: #fff;
    cursor: pointer;
    background: #287ea0;  /* #00bcd4; */
    transition: 0.2s ease;
}

.login-form-box form button:hover {
    background: #349bc4;  /* #0097a7; */
}

.login-form-box .form-box .bottom-link {
    text-align: center;
}


/* Signup Page */

.signup-container {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 95, 124, 0.3),
                         rgba(5, 50, 71, 0.5)), url('../imgs/landing_bg.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}

.signup-form-box {
    position: absolute;
    background: #fff;
    width: 50%;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate(-50%, -50%);
}

.signup-form-box .signup-form-details {
    max-width: 330px;
    width: 100%;
    color: #fff;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.signup .signup-form-details {
    background: url("../imgs/signup-panel.jpg");
    background-size: center;
    background-position: center;
}

.signup-form-box h2 {
    margin-bottom: 30px;
}

.signup-form-box .signup-form-contents {
    width: 100%;
    padding: 35px;
}

.signup-form-box form .input-field {
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.signup-form-box form .input-field input {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 15px;
    font-size: 0.95rem;
    border-radius: 3px;
    border: 1px solid #717171;
}

.signup-form-box .input-field input:focus {
    border-color: #00bcd4;
}

.signup-form-box .input-field input:is(:focus, :valid) {
    padding: 16px 15px 0;
}

.signup-form-box form .input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    color: #717171;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.2s ease;
}

.signup-form-box .input-field input:is(:focus, :valid) ~ label {
    color: #00bcd4;
    font-size: 0.75rem;
    transform: translateY(-120%);
}

.signup-form-box a {
    color: #00bcd4;
    text-decoration: none;
}

.signup-form-box a:hover {
    text-decoration: underline;
}

.signup-form-box :where(.forgot-pass, .policy-text) {
    display: inline-flex;
    margin-top: 14px;
    font-size: 0.95rem;
}

.signup-form-box form button {
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-radius: 3px;
    margin: 25px 0;
    color: #fff;
    cursor: pointer;
    background: #287ea0;  /* #00bcd4; */
    transition: 0.2s ease;
}

.signup-form-box form button:hover {
    background: #349bc4;  /* #0097a7; */
}

.signup-form-box .form-box .bottom-link {
    text-align: center;
}


/* Error Page */

.error-container {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 95, 124, 0.3),
                         rgba(5, 50, 71, 0.5)), url('../imgs/landing_bg.jpg');
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}

.error-box {
    position: absolute;
    background: #fff;
    width: 35%;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate(-50%, -50%);
}



/* Media Queries */

@media(max-width: 768px) {
    #header {
        background-color: rgb(37, 49, 59);
    }

    .navbar #login-btn {
        width: 100%;
        margin: 10px 0;
    }

    .main {
        padding: 200px 0;
    }

    .main h2 {
        font-size: 2em;
    }

    .form-popup {
        width: 95%;
    }

    .form-box .form-details {
        display: none;
    }

    .form-box .form-contents {
        padding: 30px 20px;
    }
}


