@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.exchange-rate-widget {
    display: flex;
    gap: 10px;
    background-color: #f0f0f0;
    border-radius: 14px;
    padding: 6px 12px;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 15px;
}

.exchange-rate-widget:hover {
    background-color: #e0e0e0;
}

.rate {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rate img {
    width: 27px;
    height: 27px;
}

.rate span {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.but_pichu {
    background-image: url('../images/flag_hu.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left;
}

.ro_datepicker .rz-inputtext {
    background-color: rgba(255,220,40,.2) !important;
    max-width:135px;
}

.picgr {
    background-image: url('../images/back2.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left;
    min-height: 100vh;
    height: 100%;
}

.picgrdps {
    background-image: url('../images/dps_back_empty.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left;
    min-height: 100vh;
    height: 100%;
}

.bold-category {
    font-weight: bold;
    color: darkred;
}

/* aktiválás */
.act_summary {
    font-size: 13px;
    font-weight: bolder;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.act_label {
    font-size: 12px;
    padding-top: 5px;
}

.act_but {
    font-size: 12px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
    min-width: 115px;
    margin-left: -15px;
}

.assign_lab {
    font-size: 14px;
    font-weight: lighter;
    font-style: italic;
    color: gray;
}

.rz-multiselect-item {
    font-size: 12px !important;
    margin-top: -6px !important;
}

.act_cllabel {
    font-size: 12px;
    padding-top: 5px;
    text-align: right;
    padding-left: 2px;
}
.act_odd {
    background-color: white;
    padding-top: 2px;
    padding-bottom: 3px;
}
.act_even {
    background-color: lightgoldenrodyellow;
    padding-top: 2px;
    padding-bottom: 3px;
}
.act_data {
    font-size: 12px;
    padding-top: 5px;
    font-weight: bold;
}
.act_hlabel {
    font-size: 12px;
    padding-top: 8px;
}
.act_chlabel {
    font-size: 12px;
    padding-top: 0px;
    padding-left: 4px;
    padding-right: 8px;
}

.act_rd {
    font-size: 13px;
    background-color: lightyellow;
    padding-left: 5px;
    padding-right: 2px;
}
.act_rd2 {
    font-size: 12px;
    background-color: lightyellow;
    padding-left: 4px;
    padding-right: 2px;
}

.act_link {
    font-size: 12px;
    text-decoration: underline;
    padding-right: 8px;
    cursor: pointer;
}
.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

/* PDF megjelenítés: */
.gwm_editor_frame {
    width:  640px !important;
    height: 700px !important;
}
.gwm_docedit_frame {
    width: 640px !important;
    height: 650px !important;
}
.gwm_list_frame {
    width: 100% !important;
    min-width: 800px !important;
    min-height: 1200px !important;
}
.rz-cell-data {
    font-size: 0.75em !important;
}

.rz-grid-table td {
    padding: 0.3rem !important;
}

.rz-column-title {
    font-size: 0.7rem;
}

.rz-cell-filter {
    padding: 0.2rem !important;
    font-size: 0.65rem !important;
}

/*.rz-navigation-item-text {
    font-size: 12px !important;
}

.rz-navigation-item-link {
    padding: 0.5rem 0.825rem !important;
}*/


/*
.content {
    background-image: url('../images/hatter2.png');
    background-repeat: repeat;
}*/
/* ez kell ahhoz, hogy a login ablakban a 'felhasználó' szöveg ne törjön szét*/
/*.rz-card {
    min-width: 500px !important;
}*/
.rz-panel-menu .rz-navigation-menu .rz-navigation-item .rz-navigation-item-link {
    padding-left: 4.4rem;
}

/*  datagrid inline szerkesztésnél szűkebb oszlopok */
.rz-datatable-data td {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.rz-cell-data, rz-textbox, rz-textbox valid, rz-textbox modified {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        /* background-color: #f7f7f7; */
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    min-width: 215px !important;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.nav-link {
    font-size: small !important;
}

#blazor-error-ui {
    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 {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        min-height: 100vh;
        height: 100%;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.drag-drop-zone {
    border: 3px dashed #e68710;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 1.5rem 0 2rem 0;
    position: relative;
}

.drag-drop-zone:hover {
    background-color: #f5f5f5;
}

.drag-drop-zone input[type=file] {
    position: absolute;
    width: 60%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* user táblában a törölt sor jelzése: */
.deleted-row td {
    opacity: 0.3;
}

/* user táblában a törölt sorban kivétel megadása: */
.deleted-row td:last-child {
    opacity: 1;
}

.deleted-user-label {
    display: inline-block;
    padding: 5px 15px !important;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #b91c1c; /* piros, de nem neon */
    background-color: rgba(185, 28, 28, 0.1); /* áttetsző piros háttér */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:root[data-theme="dark"] .deleted-user-label {
    color: #fca5a5; /* világospiros */
    background-color: rgba(239, 68, 68, 0.15);
}

.day-card {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 6px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
    cursor: grab;
    user-select: none;
}

    .day-card.dragging {
        opacity: 0.6;
        cursor: grabbing;
    }

.drag-handle {
    font-size: 16px;
    opacity: .6;
    flex-shrink: 0;
}

.day-card-text {
    display: flex;
    flex-direction: column;
}

.day-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.day-card-time {
    font-size: 10px;
    opacity: .8;
    line-height: 1.1;
}