﻿@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/schibsted-grotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body,
button,
input,
select,
textarea,
.k-widget,
.k-input,
.k-button {
    font-family: 'Work Sans', sans-serif;
}

body {
    --bs-body-bg: var(--color-background-body);
}

footer {
    background-color: white;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Schibsted Grotesk', sans-serif;
}

h1,
.h1 {
    font-size: 2rem !important;
    font-weight: 700;
}

h2,
.h2 {
    font-size: 1.35rem !important;
    font-weight: 700;
}

h3,
.h3 {
    font-size: 1.05rem !important;
    font-weight: 700;
}

a.navbar-brand img {
    height: 3rem;
}

.btn-light {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-color: var(--color-text-body);
}

    .btn-light:hover {
        --bs-btn-hover-bg: var(--color-btn-light-hover);
        --bs-btn-hover-border-color: var(--color-btn-light-hover);
    }

.phact-card {
    margin-top: 5rem;
    margin-bottom: 5rem;
    max-width: 500px;
}

    .phact-card .k-card a {
        color: var(--color-accent)
    }

.login-code-textbox {
    letter-spacing: 0.5rem;
    font-weight: 700 !important;
    font-size: inherit;
    text-align: center;
}

.round-image-border {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.lock-image,
.secure-image {
    height: 2.3rem;
}

.k-button .secure-image {
    height: 1.3rem;
}

.secure-image-header {
    height: 1rem;
}

.text-phact-muted {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.k-input, .k-input.k-input-solid {
    background-color: white !important;
    border-radius: 0.3rem;
}

.k-input-prefix {
    background-color: white !important;
    color: var(--bs-gray-500) !important;
}

.k-textbox {
    width: 100%;
}

.k-textbox .k-input-inner::placeholder {
    color: var(--bs-gray-500);
    opacity: 1;
}

label {
    font-size: 0.8rem;
    font-weight: 600 !important;
    color: var(--color-foreground);
}

.phact-card .k-button {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

    .footer-grid a {
        text-decoration: none;
    }

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: start;
}

.footer-brand-img {
    width: 120px;
}

.footer-iso-img {
    height: 165px;
    object-fit: contain;
}

.footer-address {
    font-style: normal;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-address-contact-options {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-address-strong {
    font-weight: 700;
    color: var(--color-foreground)
}

.footer-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-partner-logos {
    display: flex;
    align-items: center;
    gap: 2.0rem;
    flex-wrap: wrap;
}

.footer-partner-logo {
    height: 75px;
}

.footer-brand-info {
    line-height: 1.5;
    text-align: right;
}

.summary {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-body);
    margin-top: 0.25rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator-dot {
    width: 0.5rem;
    height: 0.5rem;
    min-height: 0.5rem;
    min-width: 0.5rem;
    background-color: var(--color-medium-green);
    display: inline-block;
    box-shadow: var(--color-medium-green-rgb-opacity-20) 0px 0px 0px 2px;
    border-radius: 50%;
}

.phact-badge {
    align-items: center;
    border-radius: 2px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    display: inline-flex;
    gap: 0.4rem;
}

.phact-badge-purple {
    background-color: var(--color-primary-tint);
    color: var(--color-primary);
    border: 1px solid #e9d5ff;
}

.phact-badge-accent {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border: 1px solid var(--color-accent-border);
}

.phact-badge-word {
    background-color: color-mix(in srgb,var(--color-badge-bg-word), white 80%);
    color: var(--color-badge-bg-word);
    border: 1px solid color-mix(in srgb,var(--color-badge-bg-word), white 60%);
}

.phact-badge-pdf {
    background-color: color-mix(in srgb,var(--color-badge-bg-pdf), white 80%);
    color: var(--color-badge-bg-pdf);
    border: 1px solid color-mix(in srgb,var(--color-badge-bg-pdf), white 60%);
}

.phact-badge-image {
    background-color: color-mix(in srgb,var(--color-badge-bg-image), white 80%);
    color: var(--color-badge-bg-image);
    border: 1px solid color-mix(in srgb,var(--color-badge-bg-image), white 60%);
}

.phact-badge-excel {
    background-color: color-mix(in srgb,var(--color-badge-bg-excel), white 80%);
    color: var(--color-badge-bg-excel);
    border: 1px solid color-mix(in srgb,var(--color-badge-bg-excel), white 60%);
}

.phact-badge-file {
    background-color: color-mix(in srgb,var(--color-badge-bg-file), white 80%);
    color: var(--color-badge-bg-file);
    border: 1px solid color-mix(in srgb,var(--color-badge-bg-file), white 60%);
}

.phact-pill-light-purple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

.page-title-action-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.page-shared-title-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.page-action-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.k-button-group {
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-button-group-border);
    background-color: var(--color-button-group-bg);
    gap:0.2rem;
}

    .k-button-group .k-button {
        border-radius: var(--radius-sm) !important;
        background-color: transparent;
        border-color: transparent;
        color: var(--color-text-muted);
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 0.8rem;
    }

        .k-button-group .k-button:hover {
            color: var(--color-foreground);
            background-color: rgba(255, 255, 255, 0.5);
        }

.k-button-group .k-button.k-selected {
    background-color: white;
    border-color: white;
    color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.document-tile .k-button-outline,
.k-grid .k-button-outline,
.page-action-block .k-button-outline {
    font-size: 0.8rem;
    padding-top: 5px;
    padding-bottom: 5px;
    border-color: color-mix(in srgb, var(--color-border), black 10%);
}

    .document-tile .k-button-outline:hover,
    .k-grid .k-button-outline:hover,
    .page-action-block .k-button-outline:hover {
        color: var(--color-accent-hover);
        background-color: color-mix(in srgb,var(--color-background-body), black 3%);
        border-color: color-mix(in srgb, var(--color-border), black 20%);
    }

.k-button-clear {
    font-size: 0.8rem;
    padding-top: 5px;
    padding-bottom: 5px;
    color: var(--color-text-muted);
}

    .k-button-clear:hover {
        background-color: var(--color-btn-light-hover) !important;
        color: var(--color-foreground);
    }

.k-grid {
    border-radius: var(--radius-sm);
}

#documents-grid table {
    table-layout: fixed;
    width: 100%;
}

#documents-grid td {
    overflow: hidden;
}

    .k-grid .k-table-th, .k-grid .k-table-td {
        border-inline-start-width: 0px;
    }

    .k-grid table.k-table thead.k-grid-header tr.k-table-row {
        background-color: var(--color-section-alt);
    }

    .k-grid table.k-table tbody.k-table-tbody tr.k-table-row {
        background-color: white;
    }

    .k-grid .k-grid-table tr td {
        border-width: 0 0 0.0625rem 0;
        border-style: solid;
        border-color: var(--bs-border-color);
    }

    .k-grid .k-grid-table tr:last-child td {
        border-width: 0 0 0 0;
    }

    .k-grid .k-column-title {
        font-size: 0.75rem;
        font-weight: 700;
    }

    .k-grid th:last-child .k-cell-inner,
    .k-grid th:last-child .k-link {
        justify-content: flex-end;
    }

    .k-grid th:last-child .k-column-title {
        text-align: right;
        margin-right: 0.76em;
    }

    .k-grid .k-pager.k-grid-pager {
        height: 2.2rem;
    }

.contact-actions-info-bg {
    background-color: var(--color-primary);
    position:relative;
}

.contact-actions-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.5rem;
    color: white
}

.contact-actions-info h2 {
    font-size: 2.1rem !important;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-actions-block {
    max-width: 40rem;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .contact-actions .k-button-solid {
        font-size: 0.8rem;
        font-weight: 600;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        --kendo-color-base: white;
        border-radius: 3px;
    }

    .contact-actions .k-button-outline {
        font-size: 0.8rem;
        font-weight: 600;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        border-color: color-mix(in srgb, white, black 50%);
        color: white;
        border-radius: 3px;
    }

        .contact-actions .k-button-outline:hover {
            border-color: color-mix(in srgb, white, black 10%);
            background-color: color-mix(in srgb, var(--color-primary), white 10%);
            color: white;
        }

.contact-actions-info .secure-image {
    height: 0.9rem;
    margin-right: 0.5rem;
}

.phact-trustcard {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    max-width: 430px;
    width: 100%;
    backdrop-filter: blur(8px);
}

.phact-trustcard .lock-image {
    height: 1.2rem;
    margin-right: 0.6rem;
}

.phact-trustcard .summary {
    color: white;
}

    .phact-trustcard .status-indicator-dot {
        margin-top: 0.4rem;
    }

.trustcard-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trustcard-image-bg {
    position: absolute;
    right: 5%;
    bottom: -4rem;
    opacity: 0.04;
    pointer-events: none;
    color: white;
}

    .trustcard-image-bg img {
        height: 26.25rem;
        width: 26.25rem
}

.action-buttons-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    font-size: 0.2rem !important;
}

    .action-buttons-grid .k-button {
        font-size: 0.8rem;
    }

    .k-button-clear:hover {
        background-color: var(--color-btn-light-hover) !important;
        color: var(--color-foreground);
    }
#document-preview-dialog { 
    padding: 0; 
}

.k-dialog:has(#document-preview-dialog) .k-dialog-titlebar { 
    display: none;
}

.document-preview-header, .document-preview-footer { 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 1rem 1.5rem; 
    background: #fff; 

}

.document-preview-header { 
    border-bottom: 0.0625rem solid var(--bs-border-color); 

}

.document-preview-footer { 
    justify-content: flex-end; 
    gap: 0.75rem; 
    border-top: 0.0625rem solid var(--bs-border-color); 
}

.document-preview-header-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 2.5rem; 
    height: 2.5rem; 
    margin-right: 0.75rem; 
    border-radius: 0.5rem; 
    background: rgba(var(--primary-color-rgb), 0.1); 
    color: var(--primary-color); 
}

.document-preview-body { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 3rem 2rem; 
    background: var(--bs-light); 
}

.document-preview-image {
    width: 18rem;
    height: 18rem;
    object-fit: scale-down;
}

.document-preview-icon { 
    width: 5rem; 
    height: 5rem; 
    margin-bottom: 1rem; 

}

.documents-tiles-list { 
    border: 0; 

}

.documents-tiles-list .k-listview-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1rem; 
    padding: 0; 
    overflow: visible; 
}

.documents-tiles-list.k-listview { 
    padding: 0; 

}

.document-tile { 
    display: flex; 
    flex-direction: column; 
    border: 1px solid #dee2e6; 
    border-radius: .25rem; 
    cursor: pointer; 
    background: #fff; 
    overflow: hidden; 
}

.document-tile:hover { 
    box-shadow: 0 2px 8px rgba(0,0,0,.15); 

}

.document-tile-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 130px;
    background: #f8fafc;
}

.document-tile-header img { 
    width: 32px; 
    height: 32px; 
}

.document-tile-header .phact-badge { 
    position: absolute; 
    top: .5rem; 
    right: .5rem; 
}

.document-tile-body { 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
    gap: .25rem; 
    padding: 1rem 1.25rem; 
}

.document-tile-body strong { 
    min-width: 0; 
}

.document-tile-description { 
    min-width: 0; 
}

.document-tile-footer { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: auto; 
    padding-top: .75rem; 
    border-top: 1px solid #eef0f3; 
}

.documents-tiles .k-listview-pager { 
    margin-top: 1rem
}

.k-listview {
    background-color: transparent;
}

.upload-dropzone {
    border: 0.125rem dashed #d9cfe6;
    border-radius: 0.5rem;
    background-color: #fafafd;
}

.upload-icon-circle {
    width: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    background-color: #f3edf9;
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    #documents-grid col:first-child {
        width: 50px !important;
    }

    

    #documents-grid col:nth-child(3) {
        width: 90px !important;
    }
}

@media (max-width: 992px) {
    .action-buttons-grid .action-text {
        display: none;
    }

    .action-buttons-grid .k-button i {
        margin-right: 0 !important;
    }

    #documents-grid col:last-child {
        width: 90px !important;
    }

    #documents-grid col:nth-child(4) {
        width: 130px !important;
    }
}

@media (max-width: 770px) {
    #documents-grid col:nth-child(3),
    #documents-grid th:nth-child(3),
    #documents-grid td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 570px) {
    #documents-grid .date-time {
        display: block;
    }

    .action-buttons-grid {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.25rem;
    }

    #documents-grid col:nth-child(4) {
        width: 100px !important;
    }

    #documents-grid col:last-child {
        width: 50px !important;
    }
}


.progress {
    height: 1rem;
}

    .progress .progress-bar {
        width:0%;
    }
.progress-bar {
    background-color: var(--color-accent);
}

.k-listview-pager.k-pager {
    border: 1px solid var(--color-border);
    border-radius: 0.25rem;
    background-color: white;
}