/**
 * WC Inquiry - OEM Page Styles
 * Version: 1.6.0
 * Author: OD
 */

/* Container */
.wc-oem-inquiry-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.wc-oem-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.wc-oem-header {
    text-align: center;
    margin-bottom: 40px;
}

.wc-oem-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--oem-primary-light);
    border-radius: 20px;
    margin-bottom: 24px;
    color: var(--oem-primary);
}

.wc-oem-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.wc-oem-subtitle {
    font-size: 18px;
    color: var(--oem-primary);
    font-weight: 500;
    margin: 0 0 16px;
}

.wc-oem-description {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.wc-oem-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wc-oem-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
}

.wc-oem-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    color: var(--oem-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Form */
.wc-oem-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.wc-oem-form-section {
    margin-bottom: 32px;
}

.wc-oem-form-section:last-of-type {
    margin-bottom: 24px;
}

.wc-oem-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.wc-oem-section-title svg {
    color: var(--oem-primary);
}

.wc-oem-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wc-oem-form-group {
    display: flex;
    flex-direction: column;
}

.wc-oem-form-group.wc-oem-full-width {
    grid-column: 1 / -1;
}

.wc-oem-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.wc-oem-form-group label .required {
    color: #ef4444;
}

.wc-oem-form-group input,
.wc-oem-form-group select,
.wc-oem-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wc-oem-form-group input:focus,
.wc-oem-form-group select:focus,
.wc-oem-form-group textarea:focus {
    outline: none;
    border-color: var(--oem-primary);
    box-shadow: 0 0 0 3px var(--oem-primary-light);
}

.wc-oem-form-group input::placeholder,
.wc-oem-form-group textarea::placeholder {
    color: #9ca3af;
}

.wc-oem-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.wc-oem-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Form Footer */
.wc-oem-form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.wc-oem-privacy-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.wc-oem-privacy-notice svg {
    color: var(--oem-primary);
    flex-shrink: 0;
}

.wc-oem-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 16px 32px !important;
    background: var(--oem-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
}

.wc-oem-submit-btn:hover {
    background: var(--oem-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3) !important;
    color: #fff !important;
}

.wc-oem-submit-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px var(--oem-primary-light) !important;
}

.wc-oem-submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none;
}

.wc-oem-btn-arrow {
    transition: transform 0.2s ease;
}

.wc-oem-submit-btn:hover .wc-oem-btn-arrow {
    transform: translateX(4px);
}

/* Spinner */
.wc-oem-spinner {
    animation: oem-spin 1s linear infinite;
}

@keyframes oem-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Message */
.wc-oem-form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    text-align: center;
}

.wc-oem-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.wc-oem-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-oem-inquiry-page {
        padding: 24px 16px;
    }

    .wc-oem-header-icon {
        width: 64px;
        height: 64px;
    }

    .wc-oem-header-icon svg {
        width: 32px;
        height: 32px;
    }

    .wc-oem-title {
        font-size: 24px;
    }

    .wc-oem-subtitle {
        font-size: 16px;
    }

    .wc-oem-description {
        font-size: 14px;
    }

    .wc-oem-features {
        gap: 16px;
    }

    .wc-oem-feature {
        font-size: 13px;
    }

    .wc-oem-feature-icon {
        width: 36px;
        height: 36px;
    }

    .wc-oem-form {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .wc-oem-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wc-oem-section-title {
        font-size: 15px;
    }

    .wc-oem-form-group input,
    .wc-oem-form-group select,
    .wc-oem-form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .wc-oem-submit-btn {
        width: 100%;
        max-width: none;
        padding: 14px 24px;
    }

    .wc-oem-privacy-notice {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wc-oem-features {
        flex-direction: column;
        align-items: center;
    }

    .wc-oem-feature {
        width: 100%;
        justify-content: center;
        padding: 12px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
}
