.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--bg-primary, #ffffff);
    color: var(--text-primary, #333333);
    margin: 15% auto;
    padding: 30px;
    border-radius: 20px; /* Increased by 1.5 times from 8px */
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button {
    color: var(--text-secondary, #777777);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px; /* Increased spacing */
}

.form-group label {
    display: block;
    margin-bottom: 8px; /* Increased spacing */
    color: var(--text-primary, #333333);
    font-weight: 500; /* Added for better readability */
}

.form-group input,
.form-group textarea {
    width: 95%;
    padding: 12px; /* Increased by 1.5 times from 8px */
    border: 1px solid var(--border-color, #cccccc);
    border-radius: 6px; /* Increased by 1.5 times from 4px */
    background-color: var(--bg-secondary, #f8f8f8);
    color: var(--text-primary, #333333);
    font-size: 18px; /* Added for better readability */
}

.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Added for better user experience */
}

/* Radio button styling */
.form-group input[type="radio"] {
    width: 24px; /* Increased by 1.5 times */
    height: 24px; /* Increased by 1.5 times */
    border-radius: 50%; /* Making them round */
    margin-right: 10px;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--accent-color, #4a90e2);
    position: relative;
    display: inline-block;
}

.form-group input[type="radio"]:checked {
    background-color: var(--accent-color, #4a90e2);
    border: 2px solid var(--accent-color, #4a90e2);
}

.form-group input[type="radio"]:checked:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-group input[type="radio"] + label {
    display: inline;
    vertical-align: middle;
}

.submit-button {
    background-color: var(--accent-color, #4a90e2);
    color: white;
    padding: 22px; /* Increased height by 1.5 times */
    border: none;
    border-radius: 12px; /* Increased by 1.5 times from 4px */
    cursor: pointer;
    font-weight: 600;
    font-size: 18px; /* Added for better proportions */
    transition: background-color 0.2s, transform 0.1s;
}

.submit-button:hover {
    background-color: var(--accent-hover, #3a80d2);
    transform: translateY(-2px);
}

.submit-button:disabled {
    background-color: var(--disabled-color, #cccccc);
    cursor: not-allowed;
    transform: none;
}

/* Toggle switch styles */
.toggle-switch {
    display: flex;
    align-items: center;
}

.toggle-switch input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.toggle-switch label {
    display: inline;
    cursor: pointer;
}

.hidden {
    display: none;
}
