/*
Theme Name: CUSTOM-THEME
Theme URI:
Author: none
Author URI:
Description: Description
Version: 1.0
Tags: none
Text Domain:
*/

* {
    margin: 0;
    padding: 0;
}


body {
    background-color: #626262;
    font-family: "Agency R";
}

@font-face {
    font-family: "Agency R";
    src: url("./fonts/AGENCYR.TTF");
}

@font-face {
    font-family: "Agency B";
    src: url("./fonts/AGENCYB.TTF");
}

h1,
h2 {
    font-family: 'Agency B';
}

p {
    font-family: 'Agency R';
}

a {
    text-decoration: none;
    color: #000;
}

header {
    width: 100%;
    background-color: #fff;

}

.top-red-block,
.header-content {
    width: 84%;
    margin: auto;
}

.top-red-block {
    height: 17px;
    background-color: #B23439;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.header-content {
    display: flex;
    justify-content: space-between;
}

.logo {
    margin: 56px 0 29px 34px;
}

.header-content-right {
    display: flex;
}

.language-selection {
    display: flex;
    align-items: flex-end;
    margin-right: 10px;
}

.language-selection a {
    font-family: 'Agency B';
    width: 40px;
    text-align: center;
    font-weight: bold;
    border: 0;
    background-color: #fff;
}

.language-selection a:hover {
    border-bottom: 5px solid #D9D9D9;
    position: relative;
    top: 5px;
}

.language-selection a.selected {
    color: #000;
    border-bottom: 5px solid #D9D9D9;
    position: relative;
    top: 5px;
}

.top-grey-block {
    height: 26px;
    background-color: #474747;
    width: 100%;
    box-shadow: inset 0px 4px 0 rgb(0 0 0 / 25%);;
}

.login-block {
    display: inline-block;
    margin: auto;
}

/* BUTTON LOGIN */

.button-login {
    width: 134px;
    height: 28px;
    border: 0;
    background-color: #B23439;
    color: #fff;
    margin-right: 42px;
    font-weight: bold;
}

.open-button {
    font-family: 'Agency B';
    width: 136px;
    height: 28px;
    border: 0;
    background-color: #B23439;
    color: #fff;
    margin-right: 42px;
    font-weight: bold;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.open-button:hover {
    transform: scale(1.1);
    transition: 0.5s;
    cursor: pointer;
}

.form-popup {
    display: none;
    position: absolute;
    top: 76px;
}

.form-container {
    max-width: 136px;
    background-color: rgba(71, 71, 71, 80%);
    color: white;
    letter-spacing: 1px;
    font-size: 16px;
}

.form-container input[type=text],
.form-container input[type=password] {
    width: 108px;
    line-height: 26px;
    padding: 0 5px;
    margin: 9px;
    border: none;
    background: #D9D9D9;
}

.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

.form-container .btn {
    color: white;
    border: none;
    width: 100%;
    height: 28px;
    font-family: 'Agency B';
    font-size: 16px;
}

.form-container .btn:hover {
    transform: scale(1.1);
    transition: 0.5s;
    cursor: pointer;
}

.form-container .cancel {
    background-color: #474747;

    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.grey-block {
    background-color: #D9D9D9;
    width: 100%;
    height: 20px;

    margin-bottom: 43px;
}

.form-label-username {
    margin-top: 10px;
}

form label {
    margin-top: 9px;
    padding: 0 9px;
}

.form-container .login {
    margin-top: 9px;
    background: #B23439;
}


/* MAIN */


main {
    background-image: url("./img/2400x1200.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 719px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-content {
    background-color: rgba(217, 217, 217, 0.7);
    max-width: 588px;
    margin-top: 200px;
}

.main-content h2 {
    color: #fff;
    padding: 43px 35px 0;
}

.main-content p {
    padding: 21px 104px 15px 35px;
    opacity: .8;
}

.main-button-block {
    display: flex;
    width: 63px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin: 4px 0;

    width: 60px;
    height: 60px;

    background-color: #B23439;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    text-align: center;
}

.main-button h6 {
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 12px;
}

.main-button:hover {
    transform: scale(1.1);
    transition: 0.5s;

    margin-right: 3px;


    cursor: pointer;
}

.main-content-information {
    background-color: rgba(217, 217, 217, 0.7);
    width: 100%;
    height: 90%;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* FOOTER */

.footer-grey-block {
    background-color: #474747;
    height: 30px;
}

.footer-content {
    background-color: #626262;
    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partners img {
    height: 52px;
}

.footer-content-left,
.footer-content-right {
    margin: 35px;
}

.footer-content-right {
    text-align: right;
}

.content-left,
.content-right {
    background-color: rgba(217, 217, 217, 70%);
    height: 90%;
}

.content-left {
    width: 40%;
    padding: 0 48px;
}

.content-left h3 {
    text-align: center;
    margin: 60px auto 30px;
}

.content-left table {
    width: 100%;
}

table .date {
    text-align: right;
}

.content-left-actualdoc {
    margin-bottom: 131px;
}

.content-left-actualdoc a {
    color: #B23439;
}

.content-right {
    width: 50%;
}

.content-right button {
    width: 132px;
    height: 22px;
    font-family: 'Agency B';
    font-size: 12px;

    border: none;
    background-color: rgba(178, 52, 57, 1);

    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.content-right button:hover {
    transform: scale(1.1);
    transition: 0.5s;
    cursor: pointer;
}

.content-right button[checked] {
    transform: scale(1.1);
}

.information-windows {
    width: 460px;
    padding: 10px 20px;
    background: rgb(71 71 71 / 80%);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    color: #fff;
    margin-bottom: 40px;
}

.information-balance h2 {
    margin: 7px auto;
}

.table-history h3 {
    margin-bottom: 44px;
}

.table-history table {
    width: 100%;
    font-weight: bold;
}

.table-history table td {
    height: 40px;
}

.information-windows h4 {
    margin: 4px auto;
}

.information-windows button {
    color: #fff;
}

.information-windows .main-content-information {
    background-color: rgba(217, 217, 217, 0.7);
    width: 100%;
    height: 90%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.main-content-information h1 {
    margin-top: 42px;
}

.main-content-information h2 {
    max-width: 517px;
    margin: 20px auto 17px;
    color: #fff;
}

.main-content-information p {
    margin: 10px 80px;
    color: rgba(0, 0, 0, 80%)
}

.content-info {
    position: absolute;
    z-index: 2;
    width: 100%;
}

.main-button-block-info {
    height: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.content-left table button,
.table-add-new {
    border: 0;
    color: #B23439;
    cursor: pointer;
    background: none;
}

.table-add-new {
    text-decoration: underline;
    margin-bottom: 21px;
}

.table-accaount-details {
    margin: 60px 80px
}

.table-accaount-details td {
    height: 60px;
}

.table-button-uploadfiles {
    text-align: center;
}

.content-right-control-panel {
    padding: 0 0 0 20px;
}

.scroll-table-body {
    height: 500px;
    overflow: auto;
    margin-top: 0px;
    margin-bottom: 20px;
    background-color: rgb(71 71 71 / 80%);;
}

.scroll-table table {
    width: 1000px;
    table-layout: fixed;
    border: none;
    background-color: rgb(71 71 71 / 80%);
}

.scroll-table thead th {
    font-weight: bold;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.scroll-table tbody td {
    border: 1px solid #000;
    padding: 10px 15px;
    text-align: center;

    background-color: rgba(217, 217, 217, 0.6);
}

/* Стили для скролла */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.controlpanel-documents-received,
.controlpanel-documents-uploaded {
    width: 50%;
}

.controlpanel-documents-received {
    margin-right: 10px;
}

.controlpanel-documents-uploaded {
    margin-left: 10px;
}

.controlpanel-documents-uploaded h4 {
    text-align: right;
}

.controlpanel-documents {
    display: flex;
}

.controlpanel-documents h4 {
    margin-bottom: 5px;
}

.controlpanel-table-scroll {
    overflow: auto;
    height: 65px;
}

.content-left-notification p {
    margin-bottom: 50px;
}

.content-left-notification {
    margin-bottom: 12px;
}

.controlpanel-info-selected,
.controlpanel-info-time {
    display: flex;
    font-family: 'Agency B';
}

.controlpanel-info-selected {

    justify-content: space-between;
}

.controlpanel-info-selected {
    margin: 20px 0 10px;
}

.controlpanel-info-selected .name {
    display: flex;
}

.controlpanel-info-selected .name span,
.controlpanel-info-time span {
    margin-left: 10px;
}

.accinformation {
    margin-bottom: 25px;
}

.account_id_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #B23439; /* Updated color */
    color: #fff; /* Text color for better visibility */
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.popup-content {
    padding: 30px;
    font-size: 18px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
}
