/* Modal Mandatory Survey - New Biology */
.sw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sw-modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.sw-modal-overlay.active .sw-modal-container {
    transform: translateY(0);
}

.sw-modal-header {
    background: linear-gradient(135deg, #14b1bb 0%, #0d8a92 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sw-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.sw-modal-header p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 15px;
}

.sw-modal-body {
    padding: 30px;
}

.sw-form-group {
    margin-bottom: 25px;
}

.sw-form-group label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-size: 14px;
}

.sw-form-group input[type="text"],
.sw-form-group select,
.sw-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #fdfdfd;
}

.sw-form-group input:focus,
.sw-form-group select:focus,
.sw-form-group textarea:focus {
    border-color: #14b1bb;
    outline: none;
    background: #fff;
}

.sw-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.sw-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.sw-radio-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.sw-modal-footer {
    padding: 20px 30px 40px;
    text-align: center;
}

.sw-btn-submit {
    background: #14b1bb;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(20, 177, 187, 0.3);
}

.sw-btn-submit:hover {
    background: #0d8a92;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(20, 177, 187, 0.4);
}

.sw-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.sw-mandatory-badge {
    color: #ff4d4d;
    margin-left: 3px;
}

/* Custom Scrollbar */
.sw-modal-container::-webkit-scrollbar {
    width: 8px;
}
.sw-modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.sw-modal-container::-webkit-scrollbar-thumb {
    background: #14b1bb;
    border-radius: 10px;
}
