/* Pop-up Form Styles */
.popup-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 300px;
}

.popup-form.active {
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.popup-form h3 {
    margin-bottom: 20px;
}

.popup-form input,
.popup-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.popup-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.popup-form button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-form button.cancel {
    background: #ccc;
    margin-left: 10px;
}

/* Radio Button Styles */
.radio-group {
    display: flex;
    gap: 15px; 
    align-items: center;
    margin-bottom: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

/* Dark Mode Styles */
body.dark-mode .popup-form {
    background: #333; /* Dark background for the form */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Lighter shadow for dark mode */
}

body.dark-mode .overlay {
    background: rgba(0, 0, 0, 0.7); /* Darker overlay for dark mode */
}

body.dark-mode .popup-form h3 {
    color: #e0e0e0; /* Lighter text color */
}

body.dark-mode .popup-form input,
body.dark-mode .popup-form select {
    background-color: #444;
    color: #e0e0e0;
    border: 1px solid #555;
}

body.dark-mode .popup-form label {
    color: #d1d1d1; /* Lighter text color */
}

body.dark-mode .popup-form button {
    background: #005bb5; /* Darker blue for buttons */
}

body.dark-mode .popup-form button.cancel {
    background: #555; /* Darker gray for cancel button */
}