.card-body-s {
    padding: 3.25rem;
}

.payroll-sheet {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
}

.header,
.employee-info,
.footer {
    text-align: center;
}

.header-title,
.header h4,
.header h5,
.header h2 {
    margin: 5px 0;
}

.employee-info table,
.tables-section table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    table-layout: fixed;
}

.employee-info table tr,
.tables-section table tr {
    padding: 5px 0;
}

.tables-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.footer {
    text-align: center;
    margin-top: 30px;
}
.wizard {
    margin: 2px;
    padding: 2px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.wizard-header {
    font-weight: bold;
    text-align: center;
    background-color: #5a0fac;
    color: #ffffff;
    padding: 3px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.wizard .form-control {
    border-radius: 5px;
    transition: all 0.3s ease;
}

.wizard > .content > .title {
    color: #ffffff;
}
.wizard > .actions a {
    background-color: #5a0fac;
    color: #ffffff;
}
.form-control:focus {
    border-color: #5a0fac;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-primary {
    background-color: #5a0fac;
    border-color: #5a0fac;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a0fac;
    border-color: #5a0fac;
}

.wizard > .steps > ul > li {
    margin-right: 10px;
}

.wizard > .steps > ul > li {
    padding: 0 15px;
}

.wizard > .steps > ul > li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
}

.ui-datepicker-trigger {
    margin-left: 5px;
    vertical-align: middle;
}

.main-header {
    z-index: 975 !important;
    width: 100% !important;
    right: 0;
    padding-right: 214px;
    position: fixed;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#alert-container {
    position: fixed;
    bottom: 20px;
    right: 20rem;
    max-width: 30rem;
    overflow: hidden;
    width: 0;
    overflow: visible;
    z-index: 1982;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.ajs-message {
    margin-bottom: 10px;
}

input:checked + .slider {
    background-color: #4caf50;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 15px; /* اجعل الأيقونة ثابتة على الجانب الأيمن */
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 12px; /* حجم الأيقونة يمكن تعديله */
}
.togglepassword {
    position: absolute;
    top: 10%;
    left: 15px;
    transform: translate(50%, 50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 12px;
}
.toggle-password:hover {
    color: #007bff;
}
.togglepassword:hover {
    color: #007bff;
}
.tab-content {
    margin-top: 5px;
}
/**
    .modal-backdrop {
      display: none !important;
    }**/

.selected-receivers {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: auto;
}

#receiver_group_name {
    display: flex;
    flex-wrap: wrap;
}

.recipient-btn {
    margin: -1 2px 10px 0;
    font-size: 0.8rem;
}

.recipient-btn:first-child {
    margin-right: 8.5rem;
}

.note-editor.note-frame {
    margin-right: 2px;
}

.position-search {
    position: absolute !important;
    z-index: 905;
    top: 0;
    left: 0;
    height: 40px;
    display: flex;
    align-items: center;
    border: none;
    padding: 0 15px;
}
.unread-group-name,
.unread-subject {
    color: #ffd700 !important;
}

.read-group-name,
.read-subject {
    color: #000000 !important;
}
.form-search {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4d5875;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e1e5ef;
    border-radius: 30px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-search:focus {
    color: #4d5875;
    background-color: #fff;
    border-color: #3568f7;
    outline: 0;
    box-shadow: none;
}

.custom-modal {
    opacity: 1;
    top: 6%;
    right: 5%;
    max-width: 70%;
    transform: scale(0.9);
}

.custom2FA-modal {
    opacity: 0;

    transform: scale(0.7);
}

.modal.show {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.modal.show .modal-content {
    opacity: 1;
    transform: translateY(0);
}

#twoFactorModal {
    z-index: 1050;
}

.modal-dialog {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}
.modal.show .modal-dialog {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.modal-xl {
    max-width: 800px;
}

.modal-header {
    background-color: #6a11cb;
    color: #fff;
    border-bottom: 2px solid #2575fc;
}

.modal-body {
    padding: 10px;
}

button.close {
    color: #ffffff;
    opacity: 1;
}

button.btn-primary {
    background-color: #6a11cb;
    border-color: #2575fc;
}

.page-login {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    width: 100%;
    max-width: 540px;
    position: relative;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-top: 115px;
}

.header_section {
    align-items: center;
}
.header_section img {
    height: 80px;
}
.register-container {
    background-color: #ffffff;
    border-radius: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    max-width: 650px;
    width: 100%;
}
.main-logo1 {
    color: #6a11cb;
}

.form-group label {
    font-weight: bold;
    color: #6a11cb;
}

.form-check-label {
    color: #6a11cb;
}
.btn.bg-purple {
    background-color: #6a11cb;
    border: none;
}

.btn.bg-purple:hover {
    background-color: #5a0fac;
}
form-group {
    margin-bottom: 0.5rem !important;
}

.progress-bar-success {
    background-color: #e8b210;
}
.progress-bar-failure {
    background-color: #f44336;
}

.construction-page {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.construction-page img {
    max-width: 300px;
    margin-bottom: 30px;
}
.construction-page h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.construction-page p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.construction-page a {
    padding: 10px 20px;
    font-size: 1rem;
    color: #2575fc;
    background-color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.construction-page a:hover {
    background-color: #f5f5f5;
    color: #6a11cb;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#alert-container {
    position: fixed;
    bottom: 20px;
    right: 20rem;
    max-width: 30rem;
    overflow: hidden;
    width: 0;
    overflow: visible;
    z-index: 1982;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.ajs-message {
    margin-bottom: 10px;
}
input:checked + .slider {
    background-color: #4caf50;
}
input:checked + .slider:before {
    transform: translateX(24px);
}

#receiver_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#receiver_list .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

#receiver_list .list-group-item button.close {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #dc3545;
}

.email-body {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.email-label {
    font-weight: bold;
    margin-right: 5px;
}
.email-subject {
    font-size: 1rem;
    font-weight: normal;
}

.email-body-content {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

#readTable {
    display: none;
}

.header-carousel .header-carousel-item {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    height: 800px;
}

.heart {
    position: relative;
    transform: rotate(-45deg);
    animation: heartbeat 1s infinite;
    color: red;
}
@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
        color: red;
    }
    50% {
        transform: scale(1.2);
        color: darkred;
    }
}

.responsive-text {
    font-size: clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}

@media (max-width: 768px) {
    .responsive-text {
        font-size: 2rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .responsive-text {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}

.header-container {
    padding: 0;
    margin: 0;
}

.image-logo {
    width: 100%;
    text-align: center;
}

.news-ticker {
    background-color: #ecf0fa;
    color: #ea3609;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;

    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
}

.ticker-content span {
    display: inline-block;
    margin-right: 50px;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.modal-coustom {
    position: relative;
    width: auto;
    margin: 0.5rem;
    right: 120px;
    top: 58px;
    pointer-events: none;
}

.modal-xxl {
    max-width: 85%;
}
