/* Lanracorp Brochure Download - Styles */

.lbd-button-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

.lbd-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: #0a5ca8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.lbd-button:hover {
    background: #084a87;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.lbd-button:active { transform: translateY(1px); }
.lbd-button:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.lbd-button__icon { font-size: 18px; }

/* Modal */
.lbd-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lbd-modal.is-open {
    display: flex;
}
.lbd-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.lbd-modal__dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    width: 100%;
    max-width: 460px;
    padding: 32px 28px 24px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    animation: lbd-pop 0.2s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
}
@keyframes lbd-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lbd-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 1;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 4px;
}
.lbd-modal__close:hover { background: #f3f4f6; color: #111827; }
.lbd-modal__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}
.lbd-modal__subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #6b7280;
}

.lbd-field {
    display: block;
    margin-bottom: 14px;
}
.lbd-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.lbd-field input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.lbd-field input:focus {
    outline: none;
    border-color: #0a5ca8;
    box-shadow: 0 0 0 3px rgba(10, 92, 168, 0.15);
}
.lbd-field.has-error input {
    border-color: #dc2626;
}

/* Honeypot - visually hidden */
.lbd-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lbd-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #0a5ca8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.lbd-submit:hover { background: #084a87; }
.lbd-submit:disabled { opacity: 0.7; cursor: wait; }

.lbd-submit__spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lbd-spin 0.8s linear infinite;
}
.lbd-submit.is-loading .lbd-submit__spinner { display: inline-block; }
@keyframes lbd-spin {
    to { transform: rotate(360deg); }
}

.lbd-message {
    min-height: 20px;
    margin: 6px 0 10px;
    font-size: 14px;
}
.lbd-message.is-error { color: #dc2626; }
.lbd-message.is-success { color: #059669; }

.lbd-privacy {
    margin: 14px 0 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 480px) {
    .lbd-modal__dialog {
        padding: 24px 20px 20px;
        max-width: 100%;
    }
    .lbd-modal__title { font-size: 20px; }
}
