﻿/* ===================================================== */
/* Variables 
   Typography Foundation
*/
/* ===================================================== */

:root {
    --gf-weathered-slate: #313A44;
    --gf-parchment: #F5F3ED;
    --gf-saffron: #EBCB00;
    --gf-border: #d9d6cf;
    --gf-text: #313A44;
    --gf-light-red: #F87E76;
    --gf-medium-red: #D93027;
    --gf-dark-red: #771109;
    --gf-white: #ffffff;
    --gf-transition: all .2s ease;
}

@font-face {
    font-family: "Noto Sans";
    src: url("/fonts/NotoSans-Light.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Noto Serif";
    src: url("/fonts/NotoSerif-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Noto Serif";
    src: url("/fonts/NotoSerif-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

body {
    font-family: "Noto Sans", sans-serif;
    color: var(--gf-text);
}

/* ===================================================== */
/* Account Shell */
/* ===================================================== */

.gf-account-shell {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 400px 640px;
    gap: 10rem;
    padding: 64px 64px;
    margin: 0 auto;
    align-items: start;
    background: var(--gf-parchment);
}

.gf-auth-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===================================================== */
/* Branding */
/* ===================================================== */

.gf-branding {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 19rem;
}

.gf-logo-container {
    margin-bottom: 1rem;
}

    .gf-logo-container img {
        width: 520px;
        max-width: 100%;
        height: auto;
    }

.gf-app-title {
    font-family: "Noto Serif", serif;
    color: var(--gf-weathered-slate);
    font-size: 3rem;
    line-height: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.gf-welcome-message {
    font-family: "Noto Serif", serif;
    color: var(--gf-weathered-slate);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 200;
}


/* ===================================================== */
/* Context Card */
/* ===================================================== */

.gf-context-card {
    border: 2px solid rgba(49,58,68,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
    padding: 1.5rem 2rem;
}

    .gf-context-card .text-uppercase {
        letter-spacing: .08em;
        font-size: .75rem;
    }

.gf-context-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.gf-context-details {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: 1.75rem;
}

.gf-context-actions {
    margin-top: .25rem;
}

.gf-context-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===================================================== */
/* Authentication Alerts */

/* ABP authentication alerts are rendered by the
   LeptonX account layout and relocated into this
   container by Login.js.
===================================================== */

.gf-alert-container {
    margin: 0;
}

.gf-alert-container .alert {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 1rem 3.5rem 1rem 1.25rem;
}

.gf-alert-container .alert-danger {
    background: var(--gf-light-red);
    border-color: var(--gf-medium-red);
    color: var(--gf-dark-red);
    padding-left: 1.5rem;
}

.gf-alert-container .alert-warning {
    background: #FFF9E0;
    border-color: var(--gf-saffron);
    color: var(--gf-weathered-slate);
}

.gf-alert-container .btn-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    opacity: .55;
    width: 1rem;
    height: 1rem;
}

    .gf-alert-container .btn-close:hover {
        opacity: 1;
    }

/* ===================================================== */
/* LeptonX Overrides */
/* ===================================================== */

.lpx-logo-container,
.lpx-login-logo,
.lpx-login-name {
    display: none !important;
}

.abp-account-layout,
.lpx-content-container,
.lpx-content {
    background: var(--gf-parchment);
}

/* ===================================================== */
/* Tenant Controls */
/* ===================================================== */

.dropdown-toggle.btn-light {
    background: var(--gf-parchment);
    border-color: var(--gf-border);
    color: var(--gf-weathered-slate);
}

    .dropdown-toggle.btn-light:hover {
        border-color: var(--gf-saffron);
    }

#AbpTenantSwitchLink {
    color: var(--gf-weathered-slate);
    border-color: var(--gf-weathered-slate);
    border-radius: 8px;
    padding: .5rem 1rem;
    transition: var(--gf-transition);
}

    #AbpTenantSwitchLink:hover {
        background: var(--gf-weathered-slate);
        border-color: var(--gf-weathered-slate);
        color: var(--gf-white);
    }

/* ===================================================== */
/* Context Modal Overrides */
/* ===================================================== */

.modal-content {
    border-radius: 16px;
    border: 1px solid rgba(49,58,68,.08);
}

.modal-header {
    border-bottom-color: var(--gf-border);
}

.modal-footer .btn-outline-secondary {
    background: var(--gf-white);
    border-color: var(--gf-weathered-slate);
    color: var(--gf-weathered-slate);
}

    .modal-footer .btn-outline-secondary:hover {
        background: var(--gf-saffron);
        border-color: #273039;
        color: var(--gf-weathered-slate);
    }

.modal-footer .btn-primary {
    background: var(--gf-weathered-slate);
    border-color: var(--gf-weathered-slate);
}