/**
 * Customizations\EmailVerification: the sign-up popup after a sign-up
 * ("E-postanı kontrol et") and the outcome box of the verification links.
 */

/* Sign-up done: the form's fields, buttons, links and the tab's heading go,
   only the notice with the block stays. */
#gt-sign-up-form:has(.yt-signup-done) > :not(.gt-notices),
.gt-part-signup:has(.yt-signup-done) > h4,
#gt-part-signup:has(.yt-signup-done) > :not(form) {
    display: none !important;
}

.yt-signup-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 0 0;
    color: var(--gt-theme-secondary, #162a28);
    text-align: center;
}

.yt-signup-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--yt-surface, #fff2ea);
    color: var(--gt-theme-primary, #ff4400);
}

body .gt-user-box-popup .gt-content .gt-part h4.yt-signup-done-title,
.yt-signup-done-title {
    margin: 0 0 .75rem;
    font-size: 1.625rem;
    line-height: 1.2;
}

.gt-user-box-popup .gt-notices .yt-signup-done p,
.yt-signup-done p {
    margin: 0 0 .75rem;
    font-size: 1rem;
    line-height: 1.55;
}

.yt-signup-done-email {
    display: block;
    margin: .2rem 0 .6rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.gt-user-box-popup .gt-notices .yt-signup-done p.yt-signup-done-note,
.yt-signup-done-note {
    margin-bottom: 1.5rem;
    font-size: .875rem;
    opacity: .7;
}

.yt-signup-done-close {
    min-width: 160px;
    padding: .8rem 2rem;
    border: 0;
    border-radius: 999px;
    background: var(--gt-theme-primary, #ff4400);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s ease;
}

.yt-signup-done-close:hover,
.yt-signup-done-close:focus-visible {
    filter: brightness(.92);
}

/* Outcome box (?eposta=…) */
.yt-ev-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: min(520px, calc(100% - 32px));
    padding: 16px 18px;
    border-top: 4px solid var(--gt-theme-secondary, #162a28);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    color: var(--gt-theme-secondary, #162a28);
    transform: translateX(-50%);
    font-size: .9375rem;
    line-height: 1.5;
}

.yt-ev-notice.is-ok {
    border-top-color: var(--gt-theme-primary, #ff4400);
}

.yt-ev-notice-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.yt-ev-notice-body strong {
    font-size: 1rem;
}

.yt-ev-notice-close {
    flex: none;
    padding: 0 4px;
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: .6;
}

.yt-ev-notice-close:hover {
    opacity: 1;
}
