﻿@import "core/variables.css";
@import "core/reset.css";
@import "core/base.css";
@import "core/typography.css";
@import "core/animations.css";

@import "layout/layout.css";
@import "layout/navigation.css";

@import "components/buttons.css";
@import "components/forms.css";
@import "components/stepper.css";
@import "components/loaders.css";
@import "components/backgrounds.css";
@import "components/cards.css";

@import "utilities/spacing.css";
@import "utilities/display.css";
@import "utilities/text.css";


:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html, body {
    font-family: var(--font-sans);
}

.info-tab {
    text-align: left;
    width: 600px;
    margin: 20px;
}



.feature-tab {
    padding: 45px;
    background: #ffffff35;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: solid 1px #fff3
}

.feature-image {
    display: block;
    margin: 0 auto 20px auto; /* center + space below */
    width: 150px;
    height: auto;
    background: transparent;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 18px;
    }

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #8B7849; /* bronze/gold tone */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bolder;
    flex-shrink: 0;
}

.feature-text {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
}

.fancy-text {
    font-size: 40px;
    color: #8B7849;
    font-family: serif;
    font-style: italic;
    font-weight: bolder;
}

/* Profile picture upload */
.profile-picture-upload {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 120px;
    height: 120px;
    border: 2px dashed #ddd;
    border-radius: 100%;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s;
    margin: auto;
}

    .profile-picture-upload:hover {
        border-color: #667eea;
        background-color: #f0f4ff;
    }

.profile-picture-preview {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

    .profile-picture-preview.active {
        display: block;
    }

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.upload-text {
    color: #666;
    font-size: 14px;
}

.profile-picture-upload.has-image .upload-icon,
.profile-picture-upload.has-image .upload-text {
    display: none;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.btn-customSecondary {
    flex: 1;
    padding: 12px 20px;
    background-color: lightgray;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-customSecondary:hover {
        background-color: grey;
    }


/* Special Access Portal button */
/*.btn-Primary {
    background-color: rgb(149 122 85);*/ /* dark golden/bronze */
/*color: white;
    border: none;
    border-radius: 50px;
    padding: 0.4rem 1.5rem;
}*/


.btn-FormPrimary {
    flex: 1;
    padding: 12px 20px;
    background: #8B7849;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    opacity: 1 !important;
    transform: translateY(0px);
}

.btn-FormSecondary {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    opacity: 1 !important;
    transform: translateY(0px);
}

    .btn-FormPrimary:hover,
    .btn-FormSecondary:hover {
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

.btn-FormPrimary,
.btn-FormSecondary {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-CustomPrimary {
    flex: 1;
    padding: 6px 20px;
    background: #8B7849;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    transform: translateY(0px);
}

    .btn-CustomPrimary:hover {
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

    .btn-CustomPrimary:active {
        transform: translateY(0);
    }

    .btn-CustomPrimary:disabled {
        cursor: not-allowed;
        transform: none;
    }

.btn-hidden {
    background: none;
    border: none;
    color: gray;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    margin: 5px 10px 0px 0px;
}

    .btn-hidden:hover {
        text-decoration: underline;
    }



.btn-tabPrimary {
    display: inline-flex;
    flex: 1;
    padding: 15px 40px;
    background: white;
    border: solid 2px #8B7849;
    border-radius: 30px;
    color: rgb(24 40 64);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 25px;
}

.btn-tabTertiary {
    flex: 1;
    padding: 15px 40px;
    background: none;
    border: solid 2px white;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-tabPrimary:hover, .btn-tabTertiary:hover {
        color: rgb(24 40 64);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }

.skip-div {
    text-align: right;
}
/* Login link */
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

    .login-link a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
    }

        .login-link a:hover {
            text-decoration: underline;
        }

/* Error message styling */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.has-error input {
    border-color: #dc3545;
}

.form-group.has-error .error-message {
    display: block;
}


/* Navigation container */
.Navigation {
    position: fixed;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Flex container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Left text */
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px; /* space between image and text */
}

.nav-logo {
    width: 60px;
    height: auto;
}

/* Wrap title + subtitle */
.nav-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: #b5835c;
}

/* Right buttons */
.nav-right {
    display: flex;
    gap: 0.5rem; /* space between buttons */
}

.nav-button {
    margin: auto;
    text-decoration: none;
    color: #333;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
}

    .nav-button:hover {
        background-color: #f0f0f0;
        color: #333;
    }

.custom-splitter {
    position: relative;
    text-align: center;
    margin: 30px 0;
    color: #6b7280; /* adjust to taste */
    font-weight: 500;
}

    .custom-splitter::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #d1d5db; /* line color */
        transform: translateY(-50%);
        z-index: 0;
    }

.custom-splitter {
    background: transparent;
}

    .custom-splitter span {
        position: relative;
        background: white; /* match container background */
        padding: 0 12px;
        z-index: 1;
    }

.form-utilities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* spacing above button */
    font-size: 14px;
}

    .form-utilities .remember-me {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #182840;
        cursor: pointer;
    }

    .form-utilities .forgot-password {
        text-decoration: none;
        color: var(--smd-red); /* match your theme */
    }

        .form-utilities .forgot-password:hover {
            text-decoration: underline;
            color: #111827; /* slightly darker on hover */
            font-weight: bold;
        }

.extra-info {
    padding: 20px 0px 10px 0px;
    color: var(--text-accent);
}

.contact-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    color: #111827; /* soft black (Tailwind gray-900) */
    font-weight: 600;
    margin-top: 18px;
}


    .contact-support a {
        text-decoration: none;
        color: inherit;
    }

        .contact-support a:hover {
            color: var(--smd-red);
            text-decoration: underline;
        }

.custom_loader {
    display: none;
    border-radius: 50%;
    border: 1px solid #D4AF37;
    position: absolute;
    top: 46%;
    left: 49%
}

.custom_loader_inner {
    width: 4rem;
    height: 4rem;
    animation: spin 1s infinite linear;
}

    .custom_loader_inner::after {
        content: "";
        position: absolute;
        top: -2px;
        left: 0;
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        border-bottom: 6px solid #D4AF37;
    }


@keyframes spin {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.role-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.role-card {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

    .role-card:hover {
        border-color: #D4AF37;
        transform: translateY(-2px);
    }

    .role-card.selected {
        border-color: #D4AF37;
        background-color: rgba(212, 175, 55, 0.08);
    }

.form-card .form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Brand block inside auth card */
.form-card .auth-brand {
    text-align: center;
    margin-bottom: 1.25rem;
}

    /* If you want the logo a bit smaller inside the card (optional) */
    .form-card .auth-brand .feature-image {
        width: 120px; /* was 150px */
        margin: 0 auto 12px auto;
    }

    /* Title/subtitle spacing inside the card (optional) */
    .form-card .auth-brand h1 {
        margin: 0;
    }

    .form-card .auth-brand p {
        margin: 6px 0 0 0;
    }

.windows-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .windows-login-btn .windows-icon {
        display: flex;
    }


.btn-smd-windows {
    background: var(--smd-red);
    color: #ffffff;
    border: 2px solid var(--smd-red);
}

    .btn-smd-windows:hover {
        background: #ffffff;
        color: var(--smd-red);
        box-shadow: 0 5px 20px rgba(195, 32, 51, 0.35);
    }

.windows-login-btn {
    text-decoration: none;
}

    .windows-login-btn:hover,
    .windows-login-btn:focus,
    .windows-login-btn:active {
        text-decoration: none;
    }

.login-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.login-loading-icon {
    font-size: 36px;
    color: var(--smd-red); /* inherits theme */
}

.login-loading-subtext {
    font-size: 14px;
    opacity: 0.8;
}

.login-status-message {
    text-align: center;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--smd-red);
}

    .login-status-message i {
        font-size: 14px;
    }

