/*
* Created with https://www.css-gradient.com
* Gradient link: https://www.css-gradient.com/?c1=032976&c2=234ca0&gt=l&gd=dbb
*/
@import url(../css/dashboard.css);
:root {
    --bs-main: #183F94;
    --bs-main-light: #234ba0;
    --bs-btn-default: #B8B8B8;
    --bs-btn-add: #4da8a9;
    --bs-btn-save: #F1361D;
    --bs-block-item: #13a3b8;
    --bs-block-item-1: #07879a;
    --bs-block-item-2: #eceef5;
    --bs-block-item-3: #f5f6fa;
    --bs-font-color: #333333;
    --bs-fc-btn: #ffffff;
    --bs-section-title: #6E7992;
    --bs-table-bg: #F6F6F6;
}

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.body {
      background: linear-gradient(135deg, #032976 0%, #234ba0 100%);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
}
.body-bg {
    background: linear-gradient(135deg, #032976 0%, #234ba0 100%);
}
.wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
.navbar-custom {
      background-color: #ffffff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
    }
 .logo-header {
      display: flex;
      align-items: center;
      gap: 8px;
    }   
    .card-central {
      background-color: #ffffff;
      border: 1px solid #ccc;
      border-radius: 24px;
      box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.2);
      padding: 2rem 2rem 2.5rem;
      transition: transform 0.2s ease;
      max-width: 500px;
      width: 100%;
      margin: 2rem auto;
    }
        .logo-body {
      display: flex;
      justify-content: center;
      margin-bottom: 1.5rem;
    }
        .auth-title {
      font-weight: 700;
      font-size: 1.8rem;
      color: #0a2540;
      margin-bottom: 0.75rem;
      text-align: center;
    }
        .auth-text {
      color: #5b6e8c;
      text-align: center;
      font-size: 1rem;
      margin-bottom: 2rem;
      font-weight: 500;
    }
    footer {
      /* background-color: #0b1a3a;
      color: #e0e7ff; */
      margin-top: auto;
      padding: 1.5rem 0;
      /* border-top: 1px solid rgba(255,255,255,0.1); */
    }
    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .logo-text-footer {
      font-weight: 700;
      font-size: 1.3rem;
      color: #fff;
      letter-spacing: -0.2px;
    }
    .footer-copyright {
      font-size: 0.85rem;
      opacity: 0.85;
      text-align: right;
      color: #fff;
    }
    @media (max-width: 576px) {
      .footer-inner {
        flex-direction: column;
        text-align: center;
      }
      .footer-copyright {
        text-align: center;
      }
      .card-central {
        margin: 1.5rem;
        padding: 1.5rem;
      }
    }
.bg-lock {
background-image: url(../img/lock.webp);
    background-position: 90% 80%;
    background-repeat: no-repeat;
    width: 100%;
    /* height: 480px; */
    margin: 6em 0;
    border-radius: 1.25rem;
    max-width: 880px;
}
.block__content {
    padding: 3rem;
    border-radius: 1.25rem;
}

.block__content .display-5 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    font-weight: 400;
}

.block__content .fs-6 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
}

.block__content .lead {
    font-size: 1rem;
    line-height: 1.6rem;

}

.btn-blue {
    background-color: var(--bs-main);
    color: var(--bs-fc-btn);
}
.btn-blue:hover {
    background-color: var(--bs-main-light);
    color: var(--bs-fc-btn);
}

.btn-grey {
    background-color: #F5F6FA;
    color: #6F7994; 
    border: 1px solid #E4E4E4;
}
.btn-grey:hover {
    background-color: #183F94;
    color: #fff; 
    
}

.btn-light-grey {
    background-color: var(--bs-block-item-3);
    color: var(--bs-main);
    border: 1px solid #C5DFE0;
}
.btn-light-grey:hover {
    background-color: var(--bs-main);
    color: var(--bs-fc-btn);
    border: 1px solid #C5DFE0;
    box-shadow:0 5px 10px gray; 
}
.custom-table {
            border: 1px solid #E3E1E1;
            border-radius: 10px;
            overflow: hidden;
        }
        .custom-table thead th {
            background-color: #FAFAFA;
            border-bottom: 1px solid #E3E1E1;
            color: #6F7994;
            font-weight: bold;
        }
        .custom-table td {
            border-bottom: 1px solid #E4E4E4;
            color: #666666;
        }
        .custom-table td.fio {
            color: #183F94;
        }
        .badge-circle {
            display: inline-block;
            width: 25px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            border-radius: 50%;
            font-weight: 500;
            font-size: 0.65rem;
            margin: 0 2px;
        }
        .badge-o {
            background-color: #EDF3FE;
            border: 1px solid #5794F8;
        }
        .badge-a {
            background-color: #F4F0FE;
            border: 1px solid #8B5FF7;
        }
        .badge-pz {
            background-color: #D1FBA6;
            border: 1px solid #15920E;
        }
        .badge-done {
            background-color: #D1FBA6;
            color: #15920E;
        }
        .badge-plan {
            background-color: #FBEAA6;
            color: #92400E;
        }
        .badge-over {
            background-color: #FFC2C2;
            color: #DC2626;
        }
        .action-icons i {
            font-size: 1.2rem;
            margin: 0 6px;
            color: #6c757d;
            cursor: default;
        }
        .action-icons i.bi-pencil-square {
            color: #000000;
        }
        .action-icons i.bi-trash3 {
            color: #dc3545;
        }
        .table th, .table td {
            vertical-align: middle;
            padding: 0.75rem 1rem;
        }
/*
        .table td:last-child, .table th:last-child {
            width: 120px;
        }
*/
        .btn-outline-primary {
            background-color: #fff;
            border: 1px solid #183F94;
            color: #183F94;
        }
        .btn-outline-primary:hover {
            background-color: #032976;
            color: #fff;
            border: 0;
        }

       /* Дополнительные стили для модальных окон и переключателей */
        .modal-content-red {
            background-color: #FFF0F6;
            border: 2px solid #FFC2C2;
        }
        .modal-content-red .modal-header,
        .modal-content-red .modal-footer {
            border-color: #FFC2C2;
        }
        .text-danger-custom {
            color: #DC2626;
        }
        .btn-danger-custom {
            background-color: #DC2626;
            color: #fff;
        }
        .btn-danger-custom:hover {
            background-color: #b81f1f;
            color: #fff;
        }
        .btn-outline-danger-custom {
            background-color: #FFFFFF;
            border: 1px solid #FBCFE8;
            color: #DC2626;
        }
        .btn-outline-danger-custom:hover {
            background-color: #FBCFE8;
            color: #DC2626;
        }
        .btn-blue-custom {
            background-color: #183F94;
            color: #fff;
        }
        .btn-blue-custom:hover {
            background-color: #12306e;
            color: #fff;
        }
        .btn-outline-blue-custom {
            background-color: #fff;
            color: #183F94;
            border: 1px solid #183F94;
        }
        .btn-outline-blue-custom:hover {
            background-color: #183F94;
            color: #fff;
        }
        .training-radio-group label {
            margin-right: 20px;
            cursor: pointer;
        }
        .training-block {
            padding: 15px;
            border-radius: 8px;
        }
        .modal-xl .modal-content {
            padding: 10px 15px;
        }
        .action-icons i {
            cursor: pointer;
            margin: 0 5px;
            font-size: 1.2rem;
        }
        .action-icons i.bi-pencil-square {
            color: #183F94;
        }
        .action-icons i.bi-trash3 {
            color: #DC2626;
        }
        /* Стили для модального окна удаления */
        .modal-delete .modal-content {
            background-color: #FFF0F6;
            border: 2px solid #FFC2C2;
        }
        .modal-delete .modal-header {
            border-bottom: 1px solid #FFC2C2;
        }
        .modal-delete .modal-footer {
            border-top: 1px solid #FFC2C2;
        }
        .modal-delete .modal-title {
            color: #DC2626;
        }
        .modal-delete .btn-close {
            filter: none;
        }
.card-body .blue-box {
    background-color: #EEF3FC;
    border-radius: 7px;
    color: #183F94;
    width: 30px;
    height: 30px;
    padding: 3px;
    text-align: center;
}
.card-body .card-title-blue {
    color: #183F94;
    font-size: 32px;
    font-weight: bold;
}
.card-body .card-text {
    font-size: 14px;
    color: #666666;
}

.loading-layer {
    display: flex;
    position: relative;
    height: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    font-size: 1.3rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: var(--inc-shadow-z-index);
}
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--inc-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 0.7s linear infinite;
}