input:-webkit-autofill {
    background-color: var(--ws-bg-color)!important;
    color: var(--ws-white-color) !important; 
    border-color:  var(--ws-light-gray-color)!important;
    border-radius: var(--ws-border-radius) !important;
}

:has(.custom-error) input:-webkit-autofill {
    border-color:  var(--ws-form-invalid-color)!important;
}

input:-webkit-autofill {
    animation: autofill-reset 0s forwards;
} 

@keyframes autofill-reset {
    100% {
        background-color: transparent!important; 
        color: var(--ws-white-color) !important;
    }
}

a:hover {
    color: var(--ws-link-hover-color)!important;
}

label {
    color: var(--ws-white-color);
}

.form-control.input-custom {
    height: 46px;
    font-size: 14px;
    background-color: transparent!important;
    border: 1px solid var(--ws-light-gray-color);
    border-radius: var(--ws-border-radius);
    color: var(--ws-white-color);
}

/* .p-custom-bold-18 {
    font-size: 18px;
    font-weight: bold;
    color: var(--ws-white-color);
    text-decoration: none;
    transition: .25s;
}

a.p-custom-bold-18:hover {
    color: var(--ws-primary-color)
}

a.p-custom-bold-18 i {
    color: var(--ws-primary-color);
} */

.table-custom {
    background: #191B1D !important;
}

.link-custom {
    text-decoration: none;
    color: var(--ws-white-color);
    min-height: 50px;
    align-content: center;
    font-size: 16px;
}

.link-custom:hover {
    background-color: #2D3343;
}

.link-item {
    text-decoration: none;
    color: var(--ws-white-color);
    min-height: 50px;
    align-content: center;
    font-size: 16px;
}

.link-item:hover {
    color: var(--ws-primary-color);
}

.link-custom:active {
    background-color: #3B455F;
}

.custom-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 14px;
    color: var(--ws-form-invalid-color);
}

.input-custom:focus {
    background-color: var(--ws-bg-color) !important;
    border-color: var(--ws-light-gray-color) ;
    border-radius: var(--ws-border-radius);
    color: var(--ws-white-color);
    caret-color: var(--ws-primary-color);
}

.label-custom {
    font-size: 14px;
    font-weight: normal ;
}

/* STYLE BTN */
.btn.btn-custom {
    height: 46px;
    background-color: var(--ws-btn-bg-color);
    border-color:  var(--ws-btn-bg-color);
    border-radius: var(--ws-border-radius);
    color: var(--ws-btn-color);
}

.btn.btn-custom:disabled {
    background-color: var(--ws-btn-bg-color-disable);
    border-color:  var(--ws-btn-bg-color-disable);
    color: var(--ws-btn-color-disable);
}

.btn.btn-custom:hover {
    background-color: var(--ws-btn-bg-color-hover);
    border-color: var(--ws-btn-bg-color-hover);
}

.btn.btn-custom:active {
    background-color: var(--ws-btn-bg-color);
    border-color: var(--ws-btn-bg-color);
}

.btn.btn-custom:focus {
    background-color: var(--ws-btn-bg-color-focus) !important;
    border-color: var(--ws-btn-bg-color-focus) !important;
}

.btn.btn-custom .loader {
    background-color: var(--ws-btn-bg-color-load);
    border-color: var(--ws-btn-bg-color-load);
}

.row-content {
    height: 680px;
    width: 1120px;
    max-height: 100%;
    overflow-y: auto;
}

.img-content img {
    max-width: clamp(266.67px, 81%, 371.69px);
}

@media (max-width: 580px) {
    .login-desc {
        font-size: 12.44px;
    }
    .text-p, #resend-timer {
        font-size: 14px;;
    }
}

@media (max-width: 1024px) {
    .row-content {
        height: 100%;
    }
}

.form-content {
   max-width: 340px;
}

/* .check-custom:checked {
    background-color: var(--ws-btn-bg-color);
    border-color: var(--ws-btn-bg-color);
} */

.input-custom:-webkit-autofill {
    background-color: var(--ws-bg-color) !important;
    border-color: var(--ws-light-gray-color) ;
    border-radius: 8px;
    color: var(--ws-white-color);
}

.text-p {
    color: var(--ws-white-color);
}

.div-rightbar {
    max-height: calc(100vh - 65px);
    background-color: var(--ws-body-bg);
    color: var(--ws-white-color);
    overflow: auto;
}

.but {
    width: 100%;
    padding: 16px;
    margin-left: 3px;
    border-radius: 6px;
}

.but:hover {
    background-color: #003A47;
}

.but a {
    font-size: 14px;
    color: var(--ws-white-color);
    text-decoration: none;
}

.but-active {
    background-color: #003A47;
}

.headbar {
    height: 114px;
}

.headbar button {
    color: var(--ws-white-color);
}

.contentbar {
    background-color: #191B1D;
    border-radius: 32px;
}

.cntheader {
    margin: 1em;
    padding-top: 1em;
}

.cntheaderitems {
    background-color: var(--ws-body-bg);
    border-left: 8px;
    min-height: 49px;
}

.tbl tr {

}

.card {
    --bs-card-border-color: var(--ws-dark-color);
    border-radius: 16px;
}

.card-body {
    background-color: var(--ws-dark-color);
    border-left-color: var(--ws-dark-color);
    border-radius: 16px;
}

.login-content {
    background-color: var(--ws-bg-color);
    border-radius: 20px;
}

@media (max-width: 990px) {
    .login-content {
        background-color: inherit;
        border-radius: 0;
    }

    .login-content .row:first-child {
        height: auto!important;
        row-gap: 71.67px;
    }
}

#otp-container {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    margin: 24px 0;
    background-color: transparent;
}

.otp-input {
    max-width: 48px;
    width: 100%;
    height: 46px;
    font-size: 18px;
    text-align: center;
    border: 1px solid var(--ws-light-gray-color);
    border-radius: 5px;
    outline: none;
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    color: var(--ws-white-color);
}

.otp-input:focus {
    background-color: var(--ws-bg-color);
    border-color: var(--ws-light-gray-color);
}

.reg-a-custom {
    color: var(--ws-white-color);
    text-decoration-line: none;
    padding-top: 10px;
}

.error-code {
    color: var(--ws-red-color);
}

:has(.error-code) #otp-container {
    margin-bottom: 4px;
}

:has(.error-code) .otp-input {
    border: 1px solid var(--ws-red-color);
}

#resend-container {
    background-color: transparent;
}

#resend-timer {
    padding: 5px;
    color: var(--ws-white-color);
    font-family: var(--ws-body-font-family);
    font-weight: var(--ws-body-font-weight);
    text-decoration: underline;
    text-underline-offset: 5px;
    transition: .25s;
}

#resend-timer:hover {
    text-decoration: none;
}

#resend-code:disabled {
    cursor: not-allowed;
    color: var(--ws-white-color);
    font-family: var(--ws-body-font-family);
    text-decoration: none;
}

.verify-content {
    margin-left: -22%!important;
}

@media (max-width: 992px) {
    .verify-content {
        margin: 0 auto!important;
    }
}

a.edit-vacancy {
    pointer-events: auto; /* Включает клики */
    position: relative;
    z-index: 10;
    display: inline-block;
    padding: 5px;
}

.modal-content {
    background-color: #212529; /* Темный фон */
    border-radius: 12px; /* Закругленные углы */
}

.modal-header {
    border-bottom: none; /* Убираем линию */
    color: var(--ws-white-color);
}

.modal-title {
    font-size: 1.25rem;
    font-family: "Inter", sans-serif;
    font-weight: bold;
}

.modal-body label {
    color: var(--ws-white-color);
}

.btn-i-add {
    color: #00aaff;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-i-delete {
    color: #ff5555;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-item input {
    flex: 1;
}

.form-custom {
    background-color: #212529;
}

.img-custom-icon.a {
    pointer-events: auto; /* Включает клики */
}

.back-button {
    color: var(--ws-white-color);
    border: 1px solid var(--ws-light-gray-color);
    min-height: 44px;
    min-width: 44px;
    padding-top: 8px;
    background-color: #2D3343;
}

.back-button:hover {
    border: 1px solid var(--ws-light-gray-color);
    color: var(--ws-white-color);
    background-color: var(--ws-body-bg);
}

.back-button:active {
    border: 1px solid var(--ws-light-gray-color);
    color: var(--ws-white-color);
    background-color: #2D3343;
}

.back-button.i {
    color: var(--ws-white-color);
}

.remove-requirement {
    color: var(--ws-red-color);
    border: 1px solid var(--ws-light-gray-color);
    min-height: 44px;
    min-width: 44px;
    padding-top: 8px;
}

.remove-requirement:hover {
    border: 1px solid var(--ws-red-color);
    color: var(--ws-red-color);
}

.remove-requirement.i {
    color: var(--ws-red-color);
}

.requirement-item {
    padding-top: 20px;
}

.req-custom {
    width: 100%;
}

.text-red {
    color: var(--ws-red-color);
}

.text-sm-size {
    padding-top: 4px;
    font-size: 14px!important;
    line-height: 20px;
}

.required::after {
    content: '*';
    color: var(--ws-red-color);
    margin-left: 4px;
}

.icon-show {
    font-size: 17px;
    color: var(--ws-white-color);
    padding-left: 5px;
}

.link-hover-custom {
    text-decoration: none;
    color: var(--ws-white-color);
    min-height: 50px;
    align-content: center;
    font-size: 16px;
    border: 1px solid var(--ws-light-gray-color);
}

.sidebar {
    height: calc(100vh - 72px);
}

.sidebar, .logo-leftbar {
    width: 288px;
    background-color: var(--ws-body-bg);
    border-right: 1px solid var(--ws-light-gray-color);
}

@media(max-width: 768px) {
    .sidebar {
        margin-left: -288px;
        border-right: 0;
    }
    .logo-leftbar {
        max-width: 200px;
        border-right: 0;
    }
}

.sidebar-content {
    padding-bottom: 32px;
}