/* Guvenlik (Kayit / Giris) — logo gümüş zemin + gold kenar seritleri */

.kayit-sarmal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: calc(100vh - 5rem);
    min-height: calc(100dvh - 5rem);
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
}

@media (min-width: 768px) {
    .kayit-sarmal {
        padding: 2rem;
    }
}

.kayit-kart {
    position: relative;
    isolation: isolate;
    margin-inline: auto;
    background: var(--logo-silver);
    border: none;
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.85),
        inset 0 -3px 8px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.1);
}

.kayit-kart::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--logo-cerceve);
    background: var(--logo-gold-ring);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 5;
}

.kayit-kart > * {
    position: relative;
    z-index: 1;
}

/* Sol panel — logo gümüş */
.metallic-brushed {
    background: var(--logo-silver);
    position: relative;
    overflow: hidden;
    color: #1a1a1a;
    box-shadow: inset -1px 0 0 rgba(212, 175, 55, 0.15);
}

.metallic-brushed::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-radial-gradient(
        circle at 50% 50%,
        transparent 0 5px,
        rgba(212, 175, 55, 0.06) 5px 6px,
        transparent 6px 11px
    );
    pointer-events: none;
}

.metallic-brushed::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(242, 202, 80, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.kayit-logo-cerceve {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: var(--logo-silver);
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.92),
        inset 0 -2px 6px rgba(0, 0, 0, 0.05),
        0 4px 20px rgba(0, 0, 0, 0.08);
}

.kayit-logo-cerceve::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--logo-cerceve);
    background: var(--logo-gold-ring);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.kayit-logo-cerceve img {
    position: relative;
    z-index: 1;
    width: 7.5rem;
    height: 7.5rem;
    object-fit: contain;
}

.kayit-logo-cerceve--kucuk {
    width: 5.5rem;
    height: 5.5rem;
}

.kayit-logo-cerceve--kucuk img {
    width: 3.75rem;
    height: 3.75rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gold-glow:focus {
    border-color: var(--logo-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
    outline: none;
}

.primary-gradient-btn {
    background: linear-gradient(135deg, var(--logo-gold-light) 0%, var(--logo-gold) 55%, var(--logo-gold-dark) 100%);
    color: #1a1a1a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-gradient-btn:hover {
    filter: brightness(1.05) contrast(1.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.role-card {
    background: rgba(255, 255, 255, 0.65);
    transition: all 0.2s ease;
}

.role-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(255, 255, 255, 0.9);
}

.role-card.active {
    border-color: var(--logo-gold);
    background: rgba(242, 202, 80, 0.1);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.guvenlik-form-panel {
    background: rgba(255, 255, 255, 0.55);
}

.kayit-mobil-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .kayit-mobil-logo {
        display: none;
    }
}

.dr-site.kayit-sayfa {
    background: #fafafa;
    color: #1a1a1a;
}

.guvenlik-panel.hidden {
    display: none;
}

.sifre-adim-formu.hidden {
    display: none;
}

#formHata.hidden,
#formBilgi.hidden {
    display: none;
}

#formHata:not(.hidden) {
    background: rgba(228, 0, 43, 0.08);
    border-color: rgba(228, 0, 43, 0.25);
    color: #b91c1c;
}

#formBilgi:not(.hidden) {
    background: rgba(242, 202, 80, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: #5c4a0a;
}

.guvenlik-sekme.border-primary {
    color: var(--logo-gold-dark);
}

.guvenlik-form-panel input,
.guvenlik-form-panel button[type="button"]:not(.primary-gradient-btn):not(.role-card):not(.guvenlik-sekme) {
    border-color: rgba(212, 175, 55, 0.3);
}

.guvenlik-form-panel input {
    background: rgba(255, 255, 255, 0.92);
}

.guvenlik-form-panel button[type="button"]:not(.primary-gradient-btn):not(.role-card):not(.guvenlik-sekme):hover {
    border-color: var(--logo-gold);
    background: rgba(255, 255, 255, 0.95);
}

#guvenlikSekmeler {
    border-bottom-color: rgba(212, 175, 55, 0.25);
}

.google-btn-kapsayici {
    position: relative;
    width: 100%;
    min-height: 3.5rem;
}

.google-btn-gorunum {
    pointer-events: none;
    background: rgba(255, 255, 255, 0.92);
}

.google-btn-alani {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.015;
    overflow: hidden;
    cursor: pointer;
}

.google-btn-alani > div,
.google-btn-alani iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 3.5rem !important;
}
