/**
 * =====================================================
 * SKYGRAM DIGITAL SERVICES - FORM STYLES
 * =====================================================
 * 
 * File: assets/css/form.css
 * Purpose: Application form specific styles
 * Matches: Homepage theme (style.css)
 * 
 * Developer: Jahir (Singapore)
 * Date: November 13, 2025
 */

/* ===== FORM CONTAINER ===== */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ===== FORM HEADER ===== */
.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #000;
}

.form-header h1 {
    font-size: 32px;
    color: #000;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

/* ===== STATUS INDICATOR ===== */
.status-indicator {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.status-open {
    background: #28a745;
    color: #fff;
}

.status-closed {
    background: #dc3545;
    color: #fff;
}

/* ===== FORM SECTIONS ===== */
.form-section {
    margin-bottom: 35px;
}

.form-section h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

/* ===== FORM CONTROLS ===== */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ===== SERVICE INFO BOX ===== */
.service-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.service-info.active {
    display: block;
}

.service-info p {
    margin: 5px 0;
    color: #666;
}

.service-info .price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-top: 10px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 15px;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* ===== BUTTONS ===== */
.btn-submit {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-back {
    display: inline-block;
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid #000;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-align: center;
}

.btn-back:hover {
    background: #000;
    color: #fff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .form-container {
        margin: 20px;
        padding: 25px 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
    
    .form-section h3 {
        font-size: 18px;
    }
    
    .btn-submit {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-container {
        margin: 10px;
        padding: 20px 15px;
    }
    
    .form-header h1 {
        font-size: 20px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
}
