.lmx-zendesk-form-wrapper {
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
}

.lmx-zendesk-form .form-row {
    margin-bottom: 1.5em;
}

.lmx-zendesk-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
}

.lmx-zendesk-form label .required {
    color: #e32;
    margin-left: 4px;
}

.lmx-zendesk-form input[type="email"],
.lmx-zendesk-form textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.lmx-zendesk-form input[type="email"][readonly] {
    background: #eee;
    cursor: not-allowed;
}

.lmx-zendesk-form input[type="file"] {
    padding: 0.5em 0;
}

.lmx-zendesk-form .description {
    font-size: 0.85em;
    color: #666;
    margin-top: 0.5em;
}

.lmx-zendesk-form .submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    background: #0073aa;
    color: #fff;
    padding: 1em 2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.lmx-zendesk-form .submit-button:hover {
    background: #005177;
}

.lmx-zendesk-form .submit-button.loading {
    color: transparent;
}

.lmx-zendesk-form .submit-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: button-loading-spinner 1s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.lmx-zendesk-form .submit-button:disabled {
    background: #87ceeb;
    cursor: not-allowed;
    opacity: 0.7;
}

.lmx-zendesk-form .form-messages {
    margin-top: 1em;
    padding: 1em;
    border-radius: 4px;
    display: none;
}

.lmx-zendesk-form .form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lmx-zendesk-form .form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lmx-zendesk-form #selected-files {
    margin-top: 10px;
}

.lmx-zendesk-form .selected-file {
    background: #f0f0f1;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lmx-zendesk-form .selected-file .file-size {
    color: #666;
    font-size: 0.9em;
}

.lmx-zendesk-form .selected-files {
    margin-top: 10px;
}

.lmx-zendesk-form .selected-file {
    background: #f0f0f1;
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Seção de Anexos */
.lmx-zendesk-form .attachments-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.lmx-zendesk-form .attachments-section label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lmx-zendesk-form .attachments-section .optional {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: normal;
}

.lmx-zendesk-form .attachments-info {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px dashed #dee2e6;
}

.lmx-zendesk-form .attachments-limits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lmx-zendesk-form .limit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
    font-size: 0.9em;
}

.lmx-zendesk-form .limit-item .dashicons {
    color: #0073aa;
}

/* Input de arquivo personalizado */
.lmx-zendesk-form .attachments-input {
    margin: 15px 0;
}

.lmx-zendesk-form .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.lmx-zendesk-form .upload-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 2px solid #0073aa;
    color: #0073aa;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lmx-zendesk-form .upload-button:hover {
    background: #0073aa;
    color: #ffffff;
}

/* Lista de arquivos selecionados */
.lmx-zendesk-form .selected-files {
    margin-top: 15px;
}

.lmx-zendesk-form .no-files-message {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.lmx-zendesk-form .selected-file {
    background: white;
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lmx-zendesk-form .file-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
}

.lmx-zendesk-form .file-size {
    color: #6c757d;
    font-size: 0.85em;
}

.lmx-zendesk-form .file-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lmx-zendesk-form .remove-file {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #dc3545;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lmx-zendesk-form .remove-file:hover {
    opacity: 1;
}

.lmx-zendesk-form .remove-file .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
} 