/* ==========================================================================
   TEKCONS Core — Quote Form CSS
   ========================================================================== */

.tekcons-quote-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid #e2e5e8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(16, 44, 69, 0.08);
}

.tekcons-quote-form-wrapper .tekens-form-row,
.tekcons-quote-form-wrapper .tekcons-form-row {
    margin-bottom: 20px;
}

.tekcons-quote-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #102C45;
    font-size: 0.95rem;
}

.tekcons-quote-form-wrapper input,
.tekcons-quote-form-wrapper select,
.tekcons-quote-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #FFFFFF;
    color: #102C45;
    box-sizing: border-box;
}

.tekcons-quote-form-wrapper input:focus,
.tekcons-quote-form-wrapper select:focus,
.tekcons-quote-form-wrapper textarea:focus {
    outline: 2px solid #F58220;
    border-color: #F58220;
}

.tekcons-quote-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

.tekcons-quote-form-wrapper input[type="file"] {
    padding: 8px 12px;
    background: #F4F6F8;
    border: 1px dashed #d1d5db;
}

.tekcons-quote-form-wrapper .tekcons-form-error {
    color: #d32f2f;
    font-size: 0.875rem;
    display: block;
    margin-top: 6px;
}

.tekcons-quote-form-wrapper .tekcons-form-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 6px;
}

.tekcons-quote-form-wrapper .tekcons-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}

.tekcons-quote-form-wrapper .tekcons-form-checkbox input {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.tekcons-quote-form-wrapper button.btn-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    background: #F58220;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tekcons-quote-form-wrapper button.btn-submit:hover {
    background: #e67313;
}

.tekcons-quote-form-wrapper button.btn-submit:focus-visible {
    outline: 2px solid #102C45;
    outline-offset: 2px;
}

.tekcons-quote-form-wrapper button.btn-submit[disabled] {
    background: #b3a694;
    cursor: not-allowed;
    opacity: 0.7;
}

.tekens-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: tekens-spin 0.8s linear infinite;
}

@keyframes tekens-spin {
    to { transform: rotate(360deg); }
}

.tekens-btn-text {
    font-size: 1rem;
    font-weight: 600;
}

.tekcons-form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
}

.tekens-message-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.tekens-message-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.tekens-message-sending {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
}

.tekens-status-icon {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tekens-icon-success {
    color: #2e7d32;
}

.tekens-icon-error {
    color: #c62828;
}

.tekens-icon-sending {
    color: #e65100;
    animation: tekens-spin 0.8s linear infinite;
}

.tekens-status-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .tekcons-quote-form-wrapper {
        margin: 20px;
        padding: 24px;
    }
}

/* Contact page — centered form layout */
.tekens-contact-form-wrap {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.tekens-contact-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.tekens-contact-form .tekcons-quote-form-wrapper {
    margin: 0;
}

@media (max-width: 1024px) {
    .tekens-contact-form {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .tekens-contact-form-wrap {
        padding: 20px 0;
    }
    .tekens-contact-form {
        max-width: 100%;
    }
    .tekcons-quote-form-wrapper {
        margin: 0;
        padding: 24px;
    }
}