﻿.primary-btn {
    background-color: rgba(103, 80, 164, 1);
    height: 40px;
    border: none;
    border-radius: 100px;
    color: white;
    padding: 10px 16px;
}
․fio_box > label{
    display:flex;
    justify-content:space-between;
    width:100%;
}

.input_text {
    background-color: rgba(238, 238, 238, 1);
    border: none;
    padding: 9px 8px;
    width: min-content;
}

.input_radio {
    color: rgba(103, 80, 164, 1);
}

.box-input {
    border: 1px solid rgba(219, 219, 219, 1);
    padding:40px 60px;
    width:100%; 
    display:flex;
    gap:15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #FB8500;
}

    input:checked + .slider:before {
        transform: translateX(14px);
    }
.save-btn {
    background-color: rgba(43, 171, 98, 1);
    height: 46px;
    width: 330px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
    border: none;
    box-shadow: rgba(80, 220, 140, 0.24);
}
.cancel-btn {
    background:none;
    border: 1px solid rgba(255, 35, 35, 1);
    height: 46px;
    width: 330px;
    font-weight:600;
    font-size:16px;
    text-align: center;
    color: rgba(255, 35, 35, 1);
    box-shadow: rgba(80, 220, 140, 0.24);
}

.df-col {
    display:flex;
    flex-direction:column;
}

.basic-btn{
    background:none;
    border:none;
}

.page_header_1 {
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: 700;
    line-height: 42.36px
}
.sub_header {
    font-family: Montserrat arm;
    font-size: 24px;
    font-weight: 600;
    line-height: 29.26px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}
.select_comp {
    border: none;
    padding: 9px 12px;
    font-family: "Montserrat",hsans-serif;
    font-size: 18px;
    font-weight: 0;
    line-height: 21.94px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    background: rgba(238, 238, 238, 1);
    color: black;
    border-radius: 4px;
    width: 420px;
    padding: 5px 10px 5px 10px;
    height: 43px;
    background-color: white;
    border: 1px solid black;
}
.select_comp select {
    width:min-content;
}
.w-100{
    width:100%;
}
.add_btn {
    font-family: Montserrat arm;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.94px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 10px 0;
    color: rgba(43, 171, 98, 1);
    justify-content: center;
    align-items: center;
    display: flex;
    gap:5px;
}

.article_box {
    display: flex;
}
.article_del_btn {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    right: 16px;
    top: -12px;
    border: 0.8px solid rgba(255, 35, 35, 1);
    color: rgba(255, 35, 35, 1);
    background:white;
    align-content:center;
    transition:0.2s;
}
.x_btn {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 0.8px solid rgba(255, 35, 35, 1);
    color: rgba(255, 35, 35, 1);
    background: white;
    align-content: center;
    transition: 0.2s;
    z-index:999;
}

.x_btn_psn{
    right:0;
    top:-14px;

}

.main_box_content {
    display: flex;
    width: 100%;
}
.aside-open-close {
    font-weight: 900;
    font-size: 25px;
    width: fit-content;
    transition: 1s all ease;
    border: none;
}

.move {
    width: 100%;
    transition: 1s all ease;
}


.loader-container {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    opacity: 1;
}

.fade-out {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.primary-button-color {
    border: 2px solid #8099B8;
    background-color: #355C8C;
}

.fade-in {
    opacity: 1;
}
.page-header {
    background-color: white;
    padding: 24px 10%;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-badge {
    background-color: #2d3748;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

.search-container {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 400px;
    min-width: 280px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #4a5568;
        box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
    }

.search-btn {
    padding: 10px 24px;
    background-color: #2d3748;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .search-btn:hover {
        background-color: #1a202c;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.filters-section {
    background-color: white;
    padding: 24px 10%;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f7fafc;
}

.filters-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-icon {
    width: 28px;
    height: 28px;
    background-color: #edf2f7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 16px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 2px solid #f7fafc;
}

.clear-filter-btn {
    height: 40px;
    padding: 0 24px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    background-color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .clear-filter-btn:hover {
        background-color: #f7fafc;
        border-color: #cbd5e0;
        transform: translateY(-1px);
    }

.action-button {
    height: 40px;
    padding: 0 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background-color: #2d3748;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .action-button:hover {
        background-color: #1a202c;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .action-button.secondary {
        background-color: #4a5568;
    }

        .action-button.secondary:hover {
            background-color: #2d3748;
        }

@media (max-width: 768px) {
    .page-header,
    .filters-section {
        padding: 20px 5%;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: 100%;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        justify-content: stretch;
    }

    .clear-filter-btn,
    .action-button {
        flex: 1;
    }
}

.blazored-toast-success-icon::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('./img/success.png') no-repeat center;
    background-size: contain;
}
.blazored-toast-error-icon::before {
    content: "❌";
}


.confirmation-toast-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.confirmation-toast {
    min-width: 320px;
    max-width: 420px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 12px;
    font-family: Arial, sans-serif;
}

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.toast-body {
    margin-bottom: 12px;
}

.toast-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.btn {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn-confirm {
    background: #0b74de;
    color: white;
}

.btn-cancel {
    background: #f0f0f0;
    color: #333;
}

.close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin: auto;
    box-shadow: 0 0 8px currentColor;
}

    .status-dot.online {
        background: #2ee76b;
        color: #2ee76b;
    }

    .status-dot.offline {
        background: #ff5c5c;
        color: #ff5c5c;
    }