/* VOC Contact Form - Frontend Styles */

.voc-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.voc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voc-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voc-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
}

.voc-required {
    color: #ef4444;
}

.voc-form-input {
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    transition: all 0.2s;
    font-family: inherit;
}

.voc-form-input:focus {
    outline: none;
    border-color: #f7374f;
    box-shadow: 0 0 0 3px rgba(247, 55, 79, 0.1);
}

.voc-form-input::placeholder {
    color: #9ca3af;
}

.voc-form-submit {
    margin-top: 8px;
}

.voc-form-button {
    width: 100%;
    padding: 14px 24px;
    background: #f7374f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.voc-form-button:hover {
    background: #e02d42;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 55, 79, 0.3);
}

.voc-form-button:active {
    transform: translateY(0);
}

.voc-form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.voc-form-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
    display: none !important;
}

.voc-form-message.success,
.voc-form-message.error {
    display: block !important;
}

.voc-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.voc-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.voc-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: voc-spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes voc-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .voc-contact-form {
        max-width: 100%;
    }
    
    .voc-form-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Checkbox Field */
.voc-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.voc-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #f7374f;
    cursor: pointer;
    flex-shrink: 0;
}

.voc-form-checkbox .voc-checkbox-text {
    flex: 1;
    display: inline;
}

.voc-form-checkbox .voc-checkbox-text * {
    display: inline;
}

.voc-form-checkbox .voc-checkbox-text a {
    color: #f7374f;
    text-decoration: underline;
    font-weight: 500;
    display: inline;
}

.voc-form-checkbox .voc-checkbox-text a:hover {
    color: #e02d42;
}

.voc-form-checkbox .voc-required {
    color: #ef4444;
    margin-left: 4px;
    display: inline;
}
