.eclatec-ldt-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Raleway, sans-serif;
}

.eclatec-ldt-modal[hidden] {
    display: none;
}

.eclatec-ldt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.eclatec-ldt-dialog {
    position: relative;
    background: #fff;
    width: min(520px, calc(100vw - 32px));
    padding: 32px 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.eclatec-ldt-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.eclatec-ldt-close:hover {
    color: #000;
}

.eclatec-ldt-title {
    margin: 0 0 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.eclatec-ldt-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eclatec-ldt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eclatec-ldt-label {
    font-size: 14px;
    color: #333;
}

.eclatec-ldt-field input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.eclatec-ldt-field input[type="email"]:focus {
    outline: 2px solid #A5CBCB;
    outline-offset: 0;
    background: #fff;
}

.eclatec-ldt-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    cursor: pointer;
}

.eclatec-ldt-checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.eclatec-ldt-checkbox a {
    color: #007a99;
    text-decoration: underline;
}

.eclatec-ldt-message {
    margin: 0;
    font-size: 13px;
    min-height: 18px;
}

.eclatec-ldt-message.is-error {
    color: #c62828;
}

.eclatec-ldt-message.is-success {
    color: #2e7d32;
}

.eclatec-ldt-submit {
    align-self: flex-start;
    background: #1d8be0;
    color: #fff;
    border: 0;
    padding: 12px 32px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eclatec-ldt-submit:hover:not(:disabled) {
    background: #1572bb;
}

.eclatec-ldt-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.eclatec-ldt-trigger.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 480px) {
    .eclatec-ldt-dialog {
        padding: 24px 20px 20px;
    }
}
