/* CAPC Public Form Styles */

.capc-public-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.capc-request-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.capc-form-title {
    color: #0073aa;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    font-size: 28px;
}

.capc-form-section {
    margin-bottom: 30px;
}

.capc-form-section h3 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 20px;
    border-left: 4px solid #0073aa;
    padding-left: 15px;
}

.capc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.capc-form-field {
    flex: 1;
    margin-bottom: 20px;
}

.capc-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.capc-form-field .required {
    color: #d63638;
}

.capc-form-field input[type="text"],
.capc-form-field input[type="email"],
.capc-form-field input[type="tel"],
.capc-form-field select,
.capc-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.capc-form-field input:focus,
.capc-form-field select:focus,
.capc-form-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.capc-form-actions {
    margin-top: 30px;
    text-align: center;
}

.capc-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.capc-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.capc-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 16px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .capc-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .capc-request-form {
        padding: 20px;
    }
    
    .capc-form-title {
        font-size: 24px;
    }
}

