.training-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.training-form-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 28px;
}

.form-row {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #34495e;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-row input, 
.form-row select {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    background: #fafafa;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #3498db;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-total {
    text-align: center;
    font-size: 20px;
    margin: 25px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    border: 2px solid #3498db;
}

.form-total span {
    color: #2c3e50;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .training-form-wrapper {
        margin: 20px;
        padding: 20px;
    }
    
    .training-form-wrapper h2 {
        font-size: 24px;
    }
    
    .form-total {
        font-size: 18px;
    }
}

.training-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
    border-radius: 12px 12px 0 0;
}

.training-form-wrapper {
    position: relative;
}