.add-page {
    display: grid;
    justify-items: center;
    row-gap: 12px;
    padding-block: clamp(24px, 10vh, 96px) 32px;
}

.add-page .add-card {
    width: min(100%, 500px);
    margin: 0;
    padding: clamp(20px, 5vw, 36px);
}

.add-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #cbd8ed;
    font-size: 0.9rem;
}

.add-home:hover {
    color: #fff;
}

.add-card .logo-link {
    margin-bottom: 16px;
}

.add-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.add-card .search-input {
    min-height: 50px;
    font-size: 16px;
}

.add-page :is(a, button, input):focus-visible {
    outline: 2px solid #b6d4ff;
    outline-offset: 3px;
}

.add-hint {
    margin-top: 9px;
    color: #cbd8ed;
    font-size: 0.875rem;
}

.add-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 25px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.add-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.add-result:not(:empty) {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    overflow-wrap: anywhere;
}

.add-result[data-state="success"] {
    color: #adf4bf;
    text-align: center;
}
.add-result[data-state="error"] { color: #ffd0d0; }
.add-result a { color: inherit; }
