/**
 * Single Vehicle Page - Quotation Form Styles
 * Marketplace for Cars Theme
 */

:root {
    --primary: #007bff;
    --success: #28a745;
    --border: #dee2e6;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
}

/* Quotation Request Section */
.quotation-request-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, white 100%);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.quotation-request-section h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 700;
}

.quotation-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Quotation Form */
.quotation-form {
    width: 100%;
}

.quotation-form .form-group {
    margin-bottom: 12px;
}

.quotation-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
    font-size: 13px;
}

.quotation-form .form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.quotation-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.quotation-form .form-text {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Info Box */
.quotation-info-box {
    background-color: #e7f3ff;
    border-left: 4px solid var(--primary);
    color: #0c5aa0;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quotation-info-box i {
    font-size: 14px;
    flex-shrink: 0;
}

/* Submit Button */
.quotation-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.quotation-submit-btn:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.quotation-submit-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
}

.quotation-submit-btn i {
    font-size: 14px;
}

/* Success Message */
.quotation-success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid var(--success);
    color: #155724;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
}

.quotation-success-message strong {
    display: block;
    margin-bottom: 4px;
}

/* WhatsApp Section */
.whatsapp-section {
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .quotation-request-section {
        padding: 15px;
    }

    .quotation-request-section h3 {
        font-size: 16px;
    }

    .quotation-form .form-group {
        margin-bottom: 10px;
    }

    .quotation-form .form-control {
        padding: 8px;
        font-size: 14px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .quotation-request-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border-color: rgba(0, 123, 255, 0.3);
    }

    .quotation-request-section h3 {
        color: #64b5f6;
    }

    .quotation-hint {
        color: #a0a0a0;
    }

    .quotation-form .form-group label {
        color: #e0e0e0;
    }

    .quotation-form .form-control {
        background-color: #3a3a3a;
        color: #e0e0e0;
        border-color: #555;
    }

    .quotation-form .form-control:focus {
        border-color: #64b5f6;
        box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.1);
    }

    .quotation-info-box {
        background-color: rgba(100, 181, 246, 0.1);
        color: #64b5f6;
        border-left-color: #64b5f6;
    }
}
