﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #4F46E5;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-color: #4F46E5;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
    border-color: #4338CA;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #4F46E5;
    border-color: #4F46E5;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 45%, #7c3aed 100%);
    font-family: Inter, 'Open Sans', sans-serif;
    min-height: 100vh;
}

.navbar-brand-text {
    margin-left: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.login-hero-title {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.login-hero-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.login-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.container {
    height: calc(100vh - 150px);
    display: grid;
    align-items: center;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px;
}

.navbar-brand img {
    margin-right: 12px;
}

/*Login page*/

.disabled {
    pointer-events: none;
    opacity: 0.3;
}

.image-welcome {
    margin-top: 80px;
    width: 431px;
    margin-left: 125px;
}

.text-title-login {
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
}


.text-welcome {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
}

.text-desc {
    margin-top: 14px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.2px;
}

.form-group-wrapper {
    margin-bottom: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.text-label {
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
}
/*Reset Password*/
.container-reset-password {
}


.text-title-reset-pw {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
}

.text-send-email {
    font-weight: 600;
    font-size: 15px;
    height: 19.2px;
    margin-bottom: 40px;
}

.invalid {
    opacity: 0.4;
}

.valid {
    opacity: 1;
}

.icon-field {
    background-color: #fff;
    width: 40px !important;
    display: flex;
    justify-content: center;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0 none;
    background-color: #fff;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0 none;
}

/* The switch - the box around the slider */
.switch-wrapper {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

    .switch-wrapper .content {
        margin-left: 8px;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    margin-bottom: 0;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #4F46E5;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4F46E5;
}

input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.collapsible-link {
    width: 100%;
    position: relative;
    text-align: left;
    padding: 0;
    padding-left: 24px;
    display: grid;
    text-decoration: none;
}

    .collapsible-link:hover, .collapsible-link:focus {
        text-decoration: none !important;
    }

    .collapsible-link::before {
        content: '\f0da';
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        display: block;
        font-family: 'FontAwesome';
        font-size: 1.1rem;
    }

    .collapsible-link[aria-expanded='true']::before {
        content: '\f0d7';
    }


.collapsible-link-title {
    color: #141414
}

.collapsible-link-subtitle {
    color: #ABABAB;
    font-size: 14px;
}

.accordion .card-header {
    padding: 8px 16px;
    background: #FAFAFA;
}

.accordion .card {
    border-radius: 6px;
    border: 1px solid #D9D9D9;
}

    .accordion .card:not(:last-child) {
        margin-bottom: 16px;
    }

.accordion > .card:first-of-type, .accordion > .card:last-of-type {
    border-radius: 6px;
    border: 1px solid #D9D9D9;
}

.email-verification-container {
    display: flex;
    gap: 32px;
}

.email-verification-label {
    color: #5F6368;
}

.email-verification-content {
    color: #141414;
}

    .email-verification-content a {
        color: #4F46E5 !important;
        text-decoration: none;
    }

.recommend-item {
    padding: 5px 10px;
    border-radius: 30px;
    background: rgba(255, 199, 0, 0.18);
    font-size: 12px;
    font-weight: 600;
    color: #C38F51;
}
.input-infomation {
    font-size: 14px;
    color: #ABABAB;
    margin-top: 4px;
}