/* blacklist.css */

html.modal_popup_opened, html.modal_popup_opened body {
    overflow: hidden;
}

.section-user {
    padding: 8px 0;
}

.user-line {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-line button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: initial;
    margin: auto;
}

.login-error {
    color: red;
}

.card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 16px auto;
}

.login-card {
    background: linear-gradient(145deg, #f0f8ff, #dbefff);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-card h3 {
    margin: 0;
    margin-bottom: 12px;
    color: #004080;
    text-align: center;
}

.login-card p {
    margin: 0;
    color: #555;
}

.login-card .actions {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.login-card button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: initial;
    margin: auto;
}

.login-card .login {
    background-color: #07c1ff;
    color: white;
}

.login-card .login:hover {
    background-color: #00a8e0;
}

button[disabled] {
    background-color: gray !important;
    cursor: not-allowed;
}


.client-card {
    background: linear-gradient(145deg, #f0f8ff, #dbefff);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 360px;
    min-height: 256px;
    transition: transform 0.3s, box-shadow 0.3s;
    justify-content: space-between;
}

.client-card h3 {
    margin: 0;
    margin-bottom: 12px;
    color: #004080;
    text-align: center;
}

.client-card p {
    margin: 0;
    color: #555;
}

.client-card .actions {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.client-card button {
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: initial;
    margin: auto;
}



.modal-content {
    display: flex;
    flex-direction: column;
    width: 480px;
}

.modal-content h2 {
    margin: 0 0 1.5rem;
    text-align: center;
    color: #004080;
}

.modal-content button:hover {
    background-color: #005bb5;
}

.modal-content .cancel-button {
    background-color: #ccc;
    margin-top: 0.5rem;
}

.modal-content .cancel-button:hover {
    background-color: #999;
}

.modal-content .error-text {
    color: red;
    display: none;
    margin: 16px;
    margin-bottom: 0;
}

.modal-content textarea {
    resize: vertical;
}

.login-card input {
    background-color: white;
    flex: 1;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-size: 1.2rem;
    color: #0073e6;
    margin-right: 10px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.5);
}

/* POPUP */

.modal_popup_back {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: #333333aa;
    display: flex;
    z-index: 88;
    transition: 100ms;
    opacity: 0%;
}

.modal_popup_back.transition {
    opacity: 100%;
}

.modal_popup_wrap {
    overflow: auto;
    background: white;
    margin: auto;
    min-width: 256px;
    min-height: 128px;
    border-radius: 16px;
    padding: 12px;
    max-height: 100%;
}

.modal_popup_body {
    padding: 12px;
    overflow: auto;
    height: 100%;
}

/* nice-select */


.nice-select {
    border: 1px solid var(--graycolor);
    border-radius: 8px;
    width: 100%;
    font-size: 12pt;
    color: var(--graycolor);
}

.nice-select.Chosen, .nice-select-dropdown * {
    color: black;
}

.nice-select ul>li:first-child {
    display: none;
}

.nice-select ul {
    overflow: visible;
    overflow-y: visible;
}

.nice-select-dropdown {
    overflow: auto;
}

.nice-select.open {
    outline: 1px solid black;
}

.nice-select-dropdown {
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--graycolor);
}


/* table */


.table-container {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}


table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #004080;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}

table tr:hover {
    background-color: #f1faff;
}

.add-client{
    display: flex;
    justify-content: center;
}

/* EOF */