/**
 * Quote Request Form Widget Styles
 * Professional design with no rounded corners
 */

/* Container */
.qrf-form-container {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #E5E7EB;
    border-radius: 0;
}

/* Title */
.qrf-title {
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
    font-weight: 700;
}

.qrf-subtitle {
    margin: 0 0 32px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Form */
.qrf-form {
    width: 100%;
}

/* Form Grid */
.qrf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* Field */
.qrf-field {
    display: flex;
    flex-direction: column;
}

.qrf-field-full {
    grid-column: span 2;
}

/* Label */
.qrf-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.qrf-required {
    color: #DC2626;
}

/* Input */
.qrf-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #D1D5DB;
    border-radius: 0;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.qrf-input::placeholder {
    color: #9CA3AF;
}

.qrf-input:focus {
    outline: none;
    border-color: #2563EB;
}

/* Textarea */
.qrf-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Wrapper */
.qrf-submit-wrapper {
    margin-top: 24px;
}

/* Submit Button */
.qrf-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.15s ease;
    width: 100%;
}

.qrf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Messages */
.qrf-message {
    margin-top: 16px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0;
}

.qrf-message-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.qrf-message-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Responsive */
@media (max-width: 767px) {
    .qrf-form-grid {
        grid-template-columns: 1fr;
    }

    .qrf-field-full {
        grid-column: span 1;
    }

    .qrf-form-container {
        padding: 24px !important;
    }
}