﻿.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.text-danger {
    color: red;
}

/* Modal container */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

/* Modal content */
.custom-modal-content {
    background-color: #fff;
    padding: 0;
    border: 1px solid #888;
    width: 94%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 40%;
    max-height: 100%;
    overflow: auto;
}

    .custom-modal-content h2 {
        padding: 15px 30px;
        border-bottom: 1px solid #ccc;
        font-weight: 500;
        background: #088CC4;
        color: white;
    }

/* Close button */
.custom-modal-close {
    color: #aaa;
    float: right;
    position: absolute;
    right: 30px;
    top: 7px;
    color: white;
    font-size: 34px;
}

.custom-modal-content .modal {
    padding: 10px 30px 30px;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.custom-modal-content .modal .control-group {
    margin-bottom: 20px;
}

#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.responsive-table {
    overflow: auto;
}