.program-form {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-right: 4px solid #28a745;
}

.workout-form {
    border-right-color: #dc3545;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.form-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.form-header p {
    color: #6c757d;
    margin: 0;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

/* استایل رادیو گروه افقی */
.radio-group-horizontal {
    margin-bottom: 25px;
}

.radio-group-horizontal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.radio-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.radio-option:hover {
    background: #e9ecef;
}

.radio-option input {
    width: auto;
    margin-left: 8px;
}

.radio-option:has(input:checked) {
    background: #007cba;
    color: white;
    border-color: #005a87;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    height: 50px;
}

.submit-btn:hover {
    background: #005a87;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
}

.form-message .success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.form-message .error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

@media (max-width: 768px) {
    .program-form {
        margin: 15px;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .radio-option {
        width: 100%;
    }
}