/*Write your custom css in this file.*/

.custom-modal-c2d {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1055;
    padding: 20px;
}

.custom-modal-c2d.active {
    display: flex;
}

.custom-modal-c2d .modal-content-c2d {
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.custom-modal-c2d-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
}

.c2d-row {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.c2d-label {
    min-width: 70px;
    font-weight: 600;
    margin-right: 12px;
}

.c2d-select,
.c2d-input {
    flex: 1;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.button-container {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.button-container .sidebar-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
}

.button-container .sidebar-btn:hover {
    background: #e9ecef;
}

body.c2d-modal-open {
    overflow: hidden;
}