﻿.was-validated select:invalid,
.was-validated input:invalid,
.was-validated textarea:invalid {
    border-color: #dc3545;
}

.was-validated select:valid,
.was-validated input:valid,
.was-validated textarea:valid {
    border-color: #198754;
}

.radio-invalid {
    color: #dc3545;
    font-size: .875em;
    display: none;
    margin-top: 4px;
}


.custom-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
}

    .custom-popup.show {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

.custom-popup-dialog {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.custom-popup-content {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: #333333;
}

.custom-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
}

    .custom-popup-header h5 {
        margin: 0;
        color: #333333;
        font-size: 20px;
        font-weight: 600;
    }

.custom-popup-close {
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #333333;
    padding: 0;
}

    .custom-popup-close:hover {
        color: #dc3545;
    }

.custom-popup-body {
    padding: 25px;
}

.custom-popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 0 0 0;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.custom-popup-body label {
    color: #333333;
    font-weight: 500;
}

.custom-popup-body input {
    color: #333333;
    background: #ffffff;
}
