body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    #background: linear-gradient(135deg, #d3d8eb, #d3d8eb);
    background-image: url("/images/background.png");
    background-size: max(100%);
    color: #333;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 16px 14px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

.login-container, .info-container {
    padding: 30px;
    box-sizing: border-box;
}

.login-container {
    flex: 1 1 50%;
    background: #ffffff;
}

.info-container {
    flex: 1 1 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    #justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: scroll;
    max-height: 900px;
}

.info-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.info-container p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.info-container a {
    color: #fff;
    text-decoration: underline;
}

.info-container table {
    font-size: 10px;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #444;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.flag{
    width: 100%;
    height: 40px;
}

.form-group {
    margin-bottom: 8px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    color: #555;
}

.form-group span {
    margin-top: 20px;
    font-size: 12px;
    color: #7e7e7e;
    text-align: center;
}
.form-group input,select {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 14px;
}

.form-group input:focus {
    border-color: #6c63ff;
    outline: none;
}

.form-group select:focus {
    border-color: #6c63ff;
    outline: none;
}

.login-button {
    background: #d72c24;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-button:hover {
    background: #0894da;
}

.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
}

ol {
    counter-reset: list-counter;
    padding-left: 20px;
    margin: 0;
    list-style: none;
}

ol li {
    position: relative;
    margin: 10px 0;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ol li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

ol li::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    background: #d72c24;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-login-container {
    border: 1px solid #ddd;
    width: 100%;
}
.admin-login-container button {
    margin: 2px;
    width: 100%;
    background: #d72c24;
    color: #fff;
    padding: 5px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-login-container button:hover {
    background: #0894da;
    color: #fff;
}

#pd_container, #options_container, #capcha_container {
    border: 1px solid #ddd;
    width: 100%;
    padding: 10px;
    margin: 3px 0;
}

#title_bottom {
    color: gray;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .info-container {
        order: 2;
        padding: 20px;
    }

    .login-container {
        order: 1;
        padding: 20px;
    }
}

#login-admin{
    width: 100%;
    margin-top: 5px;
}

#captcha_container{
    text-align-last: center;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}

.social img {
    width: 32px;
    height: 32px;
    padding-left: 5px;
}


.error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 900px;
    background: #fff;
    //border: 2px solid #2F3088FF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
}

.error-container table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.error-container table th, table td {

    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

.error-container table th {
    background: #595e56;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.error-container table tr:nth-child(even) {
    background: #f9f9f9;
}

.error-container table tr:hover {
    background: #f1f1f1;
}

.error-container button{
    width: 150px;
    background: #d72c24;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.error-container button:hover {
    background: #0894da;
}

.error-container img{
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

#close {
    background: #d72c24;
    text-align: center;
}

#close:hover {
    background: rgb(255,0,0);
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    table th, table td {
        padding: 5px;
        font-size: 13px;
    }
}


/* Основные стили для аккордеона */
details {

    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

details:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

details[open] {
    background: #f9f9f9;
}

/* Стили для заголовка (summary) */
summary {
    padding: 15px 20px;
    background: linear-gradient(135deg, #585d55 0%, #585d55 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-size: 1.1em;
    transition: background 0.3s ease;
    border-radius: 10px;
    margin-bottom: 10px;
    width: auto;
}

summary:hover {
    background: linear-gradient(135deg, #ff0000 0%, #ff0000 100%);
}

/* Убираем стандартный маркер */
summary::-webkit-details-marker {
    display: none;
}

/* Кастомный маркер (стрелочка) */
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '-';
}

/* Стили для содержимого */

/* Плавное раскрытие */
details[open] summary ~ * {
    animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}