﻿
.content-wrapper {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон */
    padding: 20px;
    max-width: 820px;
    border-radius: 10px;
}

    .content-wrapper h1 {
        color: #fff;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .content-wrapper h3 {
        color: #fff;
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* Стили для сообщения об ошибке */
    .alert {
        padding: 15px;
        margin-top: 20px;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .alert-danger {
        color: #721c24;
        background-color: #f8d7da;
        border-color: #f5c6cb;
    }

.modal-body {
    line-height: 1.6;
    padding: 20px;
}

.modal-content {
    width: 130% !important;
    margin-left: -15%;
    cursor: default;
}

.section {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .form-group input[type="text"] {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .form-group input[readonly] {
        background-color: #f0f0f0;
    }

.label-not-found {
    color: #777;
    font-style: italic;
}

.profile-header {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}


.profile-picture img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ddd;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    margin-left: 15px;
}

.profile-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.profile-buttons {
    margin-top: 10px;
}

.btn {
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-details {
    background-color: #007bff;
}

    .btn-details:hover {
        background-color: #0056b3;
    }

.btn-edit {
    background-color: #28a745;
}

    .btn-edit:hover {
        background-color: #218838;
    }

.edit-profile {
    margin-left: auto;
}

.main-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.left-block {
    flex: 0 0 40%;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 400px; /* Высота блока по размеру экрана */
    overflow: hidden; /* Убираем горизонтальный скроллбар */
}

.btn-large {
    display: block;
    width: 90%;
    padding: 15px;
    margin-bottom: 12px;
    font-size: 1.1em;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-large:hover {
        background-color: #0056b3;
    }

.right-block {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 70vh; /* Высота блока по размеру экрана */
    display: flex;
    flex-direction: column;
    width: 35vw;
}

.border-block {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
}

.applications-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #333;
}

.applications-table-container {
    flex: 1;
    overflow-y: auto; /* Вертикальный скроллбар для таблицы */
}

.applications-table {
    width: 95%;
    border-collapse: collapse;
}

    .applications-table th,
    .applications-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }

    .applications-table th {
        background-color: #f4f4f4;
        font-weight: bold;
    }

    .applications-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.show {
    display: block;
    cursor: pointer;
}

.edit-label-group label {
    text-align: left;
    font-size: smaller;
    margin-top: 10px;
}

.edit-label {
    text-align: left;
    font-size: smaller;
    margin-top: 10px;
}

.profile-group {
    display: flex;
    flex-direction: column;
}

.toast {
    transition: opacity 0.5s ease-in-out;
    background-color: #e8f5e9 !important;
    color: #388e3c !important;
}

.exception-toast {
    color: #b22225 !important;
}

.toast-header {
    background-color: #c8e6c9 !important;
    border-bottom: 1px solid #a5d6a7;
}

.exception-toast-header {
    background-color: #b22225 !important; 
}

.toast-body {
    background-color: #e8f5e9 !important;
}

.toast.show {
    opacity: 1;
}

.toast.hide {
    opacity: 0;
}

@font-face {
    font-family: "Golos";
    src: url('/lib/fonts/Golos-Text_Regular.woff') format('woff');
}