/* _content/Verilic.Api/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-s34xtghg11] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s34xtghg11] {
    flex: 1;
}

.sidebar[b-s34xtghg11] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-s34xtghg11] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-s34xtghg11]  a, .top-row[b-s34xtghg11]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-s34xtghg11]  a:hover, .top-row[b-s34xtghg11]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-s34xtghg11]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-s34xtghg11] {
        justify-content: space-between;
    }

    .top-row[b-s34xtghg11]  a, .top-row[b-s34xtghg11]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-s34xtghg11] {
        flex-direction: row;
    }

    .sidebar[b-s34xtghg11] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-s34xtghg11] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-s34xtghg11]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-s34xtghg11], article[b-s34xtghg11] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-s34xtghg11] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-s34xtghg11] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Verilic.Api/Components/Layout/MarketingLayout.razor.rz.scp.css */
/*
   Ίδια παγίδα με το PortalLayout: το MarketingLayout δηλώνει δικό του
   #blazor-error-ui, άρα χρειάζεται και δικά του scoped styles. Τα rules του
   MainLayout/PortalLayout είναι scoped σε εκείνα τα components και δεν πιάνουν
   εδώ — χωρίς το display:none το banner σφάλματος εμφανιζόταν μόνιμα στο τέλος
   κάθε δημόσιας σελίδας, σαν να είχε σκάσει κάτι ενώ το circuit ήταν μια χαρά.
*/
#blazor-error-ui[b-t2hr1k8t2r] {
    background: #21151a;
    color: #F8FAFC;
    border-top: 1px solid rgba(248, 113, 113, .35);
    bottom: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
    display: none;
    left: 0;
    padding: .7rem 3rem .75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 5500;
}

#blazor-error-ui .reload[b-t2hr1k8t2r] {
    color: #2DD4BF;
    font-weight: 600;
    margin-left: .5rem;
}

#blazor-error-ui .dismiss[b-t2hr1k8t2r] {
    color: #94A3B8;
    cursor: pointer;
    position: absolute;
    right: .9rem;
    top: .55rem;
}
/* _content/Verilic.Api/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-u4nzqo4qfk] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-u4nzqo4qfk] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-u4nzqo4qfk] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-u4nzqo4qfk] {
    font-size: 1.1rem;
}

.bi[b-u4nzqo4qfk] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-u4nzqo4qfk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-u4nzqo4qfk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-u4nzqo4qfk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-u4nzqo4qfk] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-u4nzqo4qfk] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-u4nzqo4qfk] {
        padding-bottom: 1rem;
    }

    .nav-item[b-u4nzqo4qfk]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-u4nzqo4qfk]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-u4nzqo4qfk]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-u4nzqo4qfk] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-u4nzqo4qfk] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-u4nzqo4qfk] {
        display: none;
    }

    .nav-scrollable[b-u4nzqo4qfk] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Verilic.Api/Components/Layout/PortalLayout.razor.rz.scp.css */
/*
   PortalLayout owns its own #blazor-error-ui element, so it also needs its
   own scoped styles. MainLayout.razor.css cannot style this element because
   CSS isolation scopes those rules to MainLayout only.

   Without display:none the standard Blazor error banner is rendered as normal
   page content at the very bottom of long Portal pages, which makes it look as
   if opening/closing a form caused an exception even when the circuit is fine.
*/
#blazor-error-ui[b-r1eny084tq] {
    background: #21151a;
    color: #F8FAFC;
    border-top: 1px solid rgba(248, 113, 113, .35);
    bottom: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
    display: none;
    left: 0;
    padding: .7rem 3rem .75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .reload[b-r1eny084tq] {
    color: #2DD4BF;
    font-weight: 600;
    margin-left: .5rem;
}

#blazor-error-ui .dismiss[b-r1eny084tq] {
    color: #94A3B8;
    cursor: pointer;
    position: absolute;
    right: .9rem;
    top: .55rem;
}
/* _content/Verilic.Api/Components/Pages/Portal/AssistantWidget.razor.rz.scp.css */
.assistant-fab[b-ruww0vf276] {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, #0f4d8a, #1768b0);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 16px 36px rgba(15, 76, 138, .28);
}

.assistant-fab svg[b-ruww0vf276] { width: 27px; height: 27px; }

.assistant-panel[b-ruww0vf276] {
    position: fixed;
    right: 28px;
    bottom: 100px;
    z-index: 1039;
    width: min(680px, calc(100vw - 40px));
    height: min(760px, calc(100vh - 135px));
    min-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(31, 78, 121, .18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(15, 23, 42, .24);
}

.assistant-panel-header[b-ruww0vf276] {
    min-height: 104px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    background: linear-gradient(135deg, #123e70 0%, #174f88 55%, #113965 100%);
}

.assistant-header-avatar[b-ruww0vf276],
.assistant-avatar[b-ruww0vf276] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.assistant-header-avatar[b-ruww0vf276] {
    width: 58px;
    height: 58px;
    color: #145da0;
    background: rgba(255,255,255,.94);
    border: 3px solid rgba(255,255,255,.32);
    box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.assistant-header-avatar svg[b-ruww0vf276],
.assistant-avatar-bot svg[b-ruww0vf276] { width: 34px; height: 34px; }

.assistant-header-copy[b-ruww0vf276] {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.assistant-header-copy strong[b-ruww0vf276] {
    font-size: 1.15rem;
    line-height: 1.2;
}

.assistant-panel-sub[b-ruww0vf276] {
    color: rgba(255,255,255,.82);
    font-size: .9rem;
}

.assistant-header-close[b-ruww0vf276] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.assistant-header-close:hover[b-ruww0vf276] { background: rgba(255,255,255,.1); }

.assistant-panel-messages[b-ruww0vf276] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 22px 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f7f9fc 100%);
}

.assistant-message-row[b-ruww0vf276] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
}

.assistant-message-row-user[b-ruww0vf276] {
    justify-content: flex-end;
}

.assistant-avatar[b-ruww0vf276] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    font-size: 1rem;
    font-weight: 800;
    user-select: none;
}

.assistant-avatar-bot[b-ruww0vf276] {
    color: #1768b0;
    background: #fff;
    border: 2px solid #d4e5f7;
    box-shadow: 0 4px 12px rgba(23,104,176,.12);
}

.assistant-avatar-user[b-ruww0vf276] {
    color: #fff;
    background: linear-gradient(145deg, #7550b8, #914ec4);
    box-shadow: 0 4px 12px rgba(117,80,184,.18);
}

.assistant-bubble[b-ruww0vf276] {
    max-width: 78%;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: .96rem;
    line-height: 1.52;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.assistant-bubble-bot[b-ruww0vf276] {
    color: #182230;
    background: #eef5fb;
    border-bottom-left-radius: 7px;
    /* Οι απαντήσεις του agent περνούν από τον PortalAssistantTextRenderer, που
       παράγει ήδη <br /> για τις αλλαγές γραμμής. Με pre-wrap εμφανιζόταν
       επιπλέον και η ΕΣΟΧΗ ΤΟΥ ΙΔΙΟΥ ΤΟΥ RAZOR ΚΩΔΙΚΑ ως κενά — γι' αυτό το
       εισαγωγικό μήνυμα ξεκινούσε "δύο tabs" πιο μέσα. */
    white-space: normal;
}

.assistant-bubble-user[b-ruww0vf276] {
    color: #182230;
    background: #edf0f5;
    border-bottom-right-radius: 7px;
}

.assistant-bubble-error[b-ruww0vf276] {
    margin: 0 52px 18px;
    color: #8f1d2c;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.assistant-typing[b-ruww0vf276] { letter-spacing: 4px; }

.assistant-panel-input[b-ruww0vf276] {
    padding: 16px 18px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #e5eaf0;
    background: #fff;
}

.assistant-panel-input input[b-ruww0vf276] {
    min-width: 0;
    flex: 1;
    height: 50px;
    padding: 0 17px;
    border: 1px solid #cfd8e3;
    border-radius: 16px;
    outline: none;
    background: #fff;
    color: #172033;
    font-size: .96rem;
}

.assistant-panel-input input:focus[b-ruww0vf276] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}

.assistant-panel-input button[b-ruww0vf276] {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #15599d, #1768b0);
    cursor: pointer;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(23,104,176,.22);
}

.assistant-panel-input button:disabled[b-ruww0vf276] {
    opacity: .45;
    cursor: default;
    box-shadow: none;
}

[b-ruww0vf276] .assistant-link {
    color: #1262b3;
    font-weight: 700;
    text-decoration: none;
}

[b-ruww0vf276] .assistant-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
    /* Σε κινητό ο βοηθός συμπεριφέρεται ως bottom sheet, όχι ως πλήρης οθόνη:
       κάλυπτε σχεδόν όλο το viewport (100vh - 108px) και ο χειριστής δεν έβλεπε
       τη σελίδα για την οποία ρωτούσε. Τώρα κρατά ~62% του ύψους, ώστε το πάνω
       μέρος της φόρμας/λίστας να παραμένει ορατό ενώ γράφει. */
    .assistant-panel[b-ruww0vf276] {
        right: 10px;
        left: 10px;
        bottom: 78px;
        width: auto;
        height: min(62vh, 520px);
        min-height: 0;
        border-radius: 18px;
    }

    .assistant-fab[b-ruww0vf276] {
        right: 16px;
        bottom: 16px;
    }

    /* Συμπαγέστερη κεφαλίδα: κάθε pixel της κεφαλίδας αφαιρείται από τη συνομιλία. */
    .assistant-panel-header[b-ruww0vf276] { min-height: 0; padding: 11px 14px; gap: 10px; }
    .assistant-header-avatar[b-ruww0vf276] { width: 38px; height: 38px; }
    .assistant-panel-sub[b-ruww0vf276] { display: none; }
    .assistant-panel-messages[b-ruww0vf276] { padding: 14px 12px 10px; }
    .assistant-bubble[b-ruww0vf276] { max-width: 86%; }
    .assistant-avatar[b-ruww0vf276] { width: 30px; height: 30px; flex-basis: 30px; }
    .assistant-panel-input[b-ruww0vf276] { padding: 10px; }
}

/* Παράδοση στο helpdesk: το κουμπί ζει μέσα στη φούσκα του βοηθού, κάτω από
   την απάντηση που είπε «δεν μπορώ», ώστε η πρόταση και η ενέργεια να είναι
   στο ίδιο σημείο. */
.assistant-handoff[b-ruww0vf276]{display:block;margin-top:12px;padding:10px 14px;border-radius:10px;border:1px solid rgba(45,212,191,.45);background:rgba(45,212,191,.12);color:#F8FAFC;font:inherit;font-size:.88rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s;}
.assistant-handoff:hover[b-ruww0vf276]{background:rgba(45,212,191,.22);border-color:rgba(45,212,191,.7);}
.assistant-handoff:disabled[b-ruww0vf276]{opacity:.55;cursor:wait;}
/* _content/Verilic.Api/Components/Pages/Portal/ContractDetail.razor.rz.scp.css */
.portal-grid[b-n4ar7cedy5] {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr 1.4fr;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}

.portal-grid .portal-field[b-n4ar7cedy5] {
    min-width: 0;
    margin-bottom: 0;
}

/* Η διάταξη οριζόταν με θέση αδελφού (.portal-status + .portal-info-card + ...)
   και υπέθετε σταθερή σειρά: status -> capacity -> certificate -> files ->
   assignments. Όταν το συμβόλαιο ΔΕΝ έχει πιστοποιητικό, η κάρτα λείπει, όλη η
   αλυσίδα μετατοπίζεται κατά μία, και οι «Αναθέσεις Χρηστών» κατέληγαν σε στήλη
   50% όπου ο πίνακάς τους δεν χωρούσε: ξέφευγε από την κάρτα, έβγαινε έξω από το
   shell και έσερνε τη σελίδα οριζόντια. Τώρα κάθε κάρτα δηλώνει ρητά τι είναι. */
.contract-card-certificate[b-n4ar7cedy5],
.contract-card-files[b-n4ar7cedy5] {
    float: left;
    width: calc(50% - 8px);
    min-height: 176px;
    margin-bottom: 24px;
}

.contract-card-certificate[b-n4ar7cedy5] {
    margin-right: 16px;
}

/* Όταν υπάρχει πιστοποιητικό, η κάρτα αρχείων είναι η δεύτερη της σειράς. */
.contract-card-certificate + .contract-card-files[b-n4ar7cedy5] {
    float: right;
    margin-right: 0;
}

.contract-card-assignments[b-n4ar7cedy5] {
    clear: both;
}

.contract-card-certificate .portal-btn-secondary[b-n4ar7cedy5] {
    white-space: nowrap;
}

/* Δίχτυ ασφαλείας: κανένας πίνακας δεν ξεφεύγει ποτέ από την κάρτα του. */
.portal-info-card[b-n4ar7cedy5] {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 900px) {
    .portal-grid[b-n4ar7cedy5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contract-card-certificate[b-n4ar7cedy5],
    .contract-card-files[b-n4ar7cedy5],
    .contract-card-certificate + .contract-card-files[b-n4ar7cedy5] {
        float: none;
        width: 100%;
        min-height: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 560px) {
    .portal-grid[b-n4ar7cedy5] {
        grid-template-columns: 1fr;
    }
}

/* Η στοίβαξη των πινάκων σε κινητό ζει πλέον στο portal.css
   (.portal-responsive-table) και είναι κοινή για όλο το Portal. */
/* _content/Verilic.Api/Components/Pages/Portal/NewContract.razor.rz.scp.css */
/* Product/card layout for the contract wizard.
   Keep two cards per row on desktop so each product has enough room,
   then collapse to a single column on smaller screens. */

.portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"][b-yw4gcbbw0r] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"] > button[b-yw4gcbbw0r] {
    min-height: 180px;
    padding: 24px !important;
}

.portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"] > button h3[b-yw4gcbbw0r] {
    font-size: 1.28rem;
}

.portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"] > button p[b-yw4gcbbw0r] {
    font-size: .95rem;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"][b-yw4gcbbw0r] {
        grid-template-columns: 1fr !important;
    }

    .portal-content > .portal-info-card:nth-of-type(2) > div[style*="grid-template-columns"] > button[b-yw4gcbbw0r] {
        min-height: 0;
        padding: 20px !important;
    }
}
