.contact-us-page.auth-page {
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
    padding: 28px 16px 40px;
}

[data-theme="dark"] .contact-us-page.auth-page,
body.dark-theme .contact-us-page.auth-page {
    background: transparent;
}

.contact-us-container {
    max-width: 540px;
}

.cu-guest-lead {
    font-size: 14px;
    color: var(--ac-subtitle, var(--text-secondary));
    line-height: 1.55;
    margin: 0 0 12px;
}

.cu-guest-lead--compact {
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--ac-placeholder, var(--text-tertiary));
}

.cu-guest-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cu-guest-actions .auth-submit,
.cu-guest-actions .auth-submit-ghost,
.cu-guest-modal__btns .auth-submit,
.cu-guest-modal__btns .auth-submit-ghost,
.contact-us-card a.auth-submit,
.contact-us-card a.auth-submit-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-sizing: border-box;
}

.cu-guest-actions .auth-submit,
.cu-guest-modal__btns .auth-submit,
.contact-us-card a.auth-submit {
    color: #fff;
}

.cu-guest-actions .auth-submit-ghost,
.cu-guest-modal__btns .auth-submit-ghost,
.contact-us-card a.auth-submit-ghost {
    color: #0f172a;
}

[data-theme="dark"] .cu-guest-actions .auth-submit-ghost,
[data-theme="dark"] .cu-guest-modal__btns .auth-submit-ghost,
[data-theme="dark"] .contact-us-card a.auth-submit-ghost,
body.dark-theme .cu-guest-actions .auth-submit-ghost,
body.dark-theme .cu-guest-modal__btns .auth-submit-ghost,
body.dark-theme .contact-us-card a.auth-submit-ghost {
    color: #f9fafb;
}

.auth-submit-ghost {
    width: 100%;
    min-height: 50px;
    margin-top: 0;
    border: 1.5px solid var(--ac-input-border, var(--border-primary));
    border-radius: 14px;
    background: var(--ac-input-bg, #f8fafc);
    color: #0f172a;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.auth-submit-ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
}

[data-theme="dark"] .auth-submit-ghost,
body.dark-theme .auth-submit-ghost {
    background: var(--ac-input-bg, #1f2937);
    color: #f9fafb;
    border-color: var(--ac-input-border, #4b5563);
}

[data-theme="dark"] .auth-submit-ghost:hover,
body.dark-theme .auth-submit-ghost:hover {
    background: #374151;
    color: #f9fafb;
}

.contact-us-card .form-group {
    margin: 0 0 16px;
}

.contact-us-card .form-group label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ac-label);
}

.contact-us-card .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ac-input-bg);
    box-shadow: inset 0 0 0 1px var(--ac-input-border);
    border-radius: 14px;
}

.contact-us-card .input-wrapper > i {
    position: absolute;
    left: 14px;
    color: var(--ac-icon);
    font-size: 14px;
    pointer-events: none;
}

.contact-us-card .input-wrapper input {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ac-input-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 16px 15px 42px;
}

.contact-us-card .input-wrapper input::placeholder {
    color: var(--ac-placeholder);
}

.contact-us-card .input-wrapper:focus-within {
    background: #fff;
    box-shadow:
        inset 0 0 0 1.5px #dc2626,
        0 0 0 4px rgba(220, 38, 38, 0.12);
}

[data-theme="dark"] .contact-us-card .input-wrapper:focus-within,
body.dark-theme .contact-us-card .input-wrapper:focus-within {
    background: #0f172a;
}

.cu-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    outline: none;
    border-radius: 14px;
    background: var(--ac-input-bg);
    box-shadow: inset 0 0 0 1px var(--ac-input-border);
    color: var(--ac-input-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 15px 16px;
    resize: vertical;
    min-height: 140px;
}

.cu-textarea::placeholder {
    color: var(--ac-placeholder);
}

.cu-textarea:focus {
    background: #fff;
    box-shadow:
        inset 0 0 0 1.5px #dc2626,
        0 0 0 4px rgba(220, 38, 38, 0.12);
}

[data-theme="dark"] .cu-textarea:focus,
body.dark-theme .cu-textarea:focus {
    background: #0f172a;
}

.cu-char-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--ac-placeholder);
    text-align: right;
}

.cu-dropdown {
    position: relative;
}

.cu-dd-trigger {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    background: var(--ac-input-bg);
    box-shadow: inset 0 0 0 1px var(--ac-input-border);
    color: var(--ac-input-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}

.cu-dd-placeholder {
    color: var(--ac-placeholder);
}

.cu-dd-chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.cu-dd-menu {
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 14px;
    background: var(--ac-card-bg);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.16), 0 0 0 1px var(--ac-card-border);
}

.cu-dd-item {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-heading);
    cursor: pointer;
}

.cu-dd-item:hover,
.cu-dd-item.is-highlighted {
    background: var(--ac-input-bg);
}

.cu-dd-item.is-selected {
    background: rgba(220, 38, 38, 0.1);
}

.cu-dd-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.cu-guest-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    box-sizing: border-box;
}

.cu-guest-modal.is-open {
    display: flex;
}

.cu-guest-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(2px);
}

.cu-guest-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-xl);
}

.cu-guest-modal__x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cu-guest-modal__x:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}

.cu-guest-modal__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--color-brand);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.cu-guest-modal__title {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.cu-guest-modal__text {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: center;
}

.cu-guest-modal__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cu-success-msg {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cu-success-msg-lead {
    margin: 0;
    font-weight: 700;
}

.cu-success-msg-detail {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.92;
}
