:root {
    --trial-green: #059669;
    --trial-green-hover: color-mix(in srgb, var(--trial-green) 82%, black);
    --trial-green-surface: color-mix(in srgb, var(--trial-green) 6%, white);
    --trial-green-surface-soft: color-mix(in srgb, var(--trial-green) 4%, white);
    --trial-green-shadow: color-mix(in srgb, var(--trial-green) 8%, transparent);
    --trial-green-shadow-md: color-mix(in srgb, var(--trial-green) 15%, transparent);
    --trial-green-shadow-lg: color-mix(in srgb, var(--trial-green) 28%, transparent);
}

body.support-contact-modal-open {
    overflow: hidden;
}

.support-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.support-contact-modal[hidden] {
    display: none;
}

.support-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.62);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.support-contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 26rem);
    padding: 1.5rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

.support-contact-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.support-contact-modal h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.support-contact-modal__header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.support-contact-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.support-contact-modal__close:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.support-contact-modal__lead {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.support-contact-modal__options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.support-contact-modal__option {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--trial-green) 28%, #e2e8f0);
    background: var(--trial-green-surface-soft);
    text-decoration: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.support-contact-modal__option:hover {
    border-color: color-mix(in srgb, var(--trial-green) 45%, #e2e8f0);
    background: var(--trial-green-surface);
    box-shadow: 0 4px 14px var(--trial-green-shadow);
}

.support-contact-modal__option-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    color: var(--trial-green);
    border: 1px solid color-mix(in srgb, var(--trial-green) 30%, transparent);
    font-size: 0.9rem;
}

.support-contact-modal__option-body {
    min-width: 0;
}

.support-contact-modal__option-label {
    display: block;
    color: #64748b;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.support-contact-modal__option-value {
    display: block;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.4;
}

.support-contact-modal__note {
    margin: 1rem 0 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.55;
}

.support-contact-modal__note a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.support-contact-modal__note a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.support-contact-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.support-contact-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.support-contact-modal__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.support-contact-modal__optional {
    font-weight: 500;
    color: #94a3b8;
}

.support-contact-modal__field input,
.support-contact-modal__field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.support-contact-modal__field input::placeholder,
.support-contact-modal__field textarea::placeholder {
    color: #9ca3af;
}

.support-contact-modal__field input:focus,
.support-contact-modal__field textarea:focus {
    outline: none;
    border-color: var(--trial-green);
    box-shadow: 0 0 0 3px var(--trial-green-shadow-md);
}

.support-contact-modal__field textarea {
    resize: vertical;
    min-height: 6.5rem;
}

.support-contact-modal__submit {
    margin-top: 0.25rem;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--trial-green);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.support-contact-modal__submit:hover:not(:disabled) {
    background: var(--trial-green-hover);
    box-shadow: 0 4px 14px var(--trial-green-shadow-lg);
}

.support-contact-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.support-contact-modal__dialog--inquiry .support-contact-modal__field input:focus,
.support-contact-modal__dialog--inquiry .support-contact-modal__field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.support-contact-modal__dialog--inquiry .support-contact-modal__submit {
    background: #2563eb;
}

.support-contact-modal__dialog--inquiry .support-contact-modal__submit:hover:not(:disabled) {
    background: #1d4ed8;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 100003;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    min-width: 300px;
    border: none;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-info {
    background: #3b82f6;
    color: white;
}
