/* Simple Forms CSS - Clean and minimal */

.stm-simple-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.stm-simple-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e1e5e9;
}

.stm-simple-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 300;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.stm-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
}

.stm-btn:hover {
    background: #2980b9;
}

.stm-btn:active {
    transform: translateY(1px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.stm-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.stm-message.stm-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stm-message.stm-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .stm-simple-container {
        margin: 10px;
        padding: 10px;
    }
    
    .stm-simple-form {
        padding: 20px;
    }
    
    .stm-simple-form h2 {
        font-size: 24px;
    }
}

/* Hide/show fields animation */
#academy-fields,
#shooter-fields {
    transition: all 0.3s ease;
    overflow: hidden;
}

#academy-fields.hidden,
#shooter-fields.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* Loading state */
.stm-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Focus styles */
.form-group input:invalid:not(:focus),
.form-group select:invalid:not(:focus),
.form-group textarea:invalid:not(:focus) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:focus),
.form-group select:valid:not(:focus),
.form-group textarea:valid:not(:focus) {
    border-color: #27ae60;
}
