@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root {
    --bg-gradient-1: #09121f;
    --bg-gradient-2: #15396b;
    --primary: #34b3c0;
    --primary-hover: #29929d;
    --success: #14b8a6;
    --danger: #29929d;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(21, 57, 107, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --input-bg: rgba(9, 18, 30, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-gradient-2);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Çizgisel Network Animasyonu İçin Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Index (Login) */
.index-body {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem) 1rem;
}

.auth-container {
    background: rgba(13, 27, 42, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Yumuşatılmış sınır */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Üst parlama vuruntusu */
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 24px;
    width: 92%;
    max-width: 420px;
    margin: auto;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fadeInFly 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInFly {
    to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; max-width: 300px;
    height: auto;
}

.moving-shield {
    width: 100px; /* Biraz daha büyütüldü */
    height: 100px;
    stroke: var(--success);
    fill: rgba(20, 184, 166, 0.15);
    filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.4));
    animation: shieldTechPulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: center center;
    z-index: 5;
}

/* Uçuşan Medya ve Uygulama İkonları Efekti (Chaos Swarm) */
.flying-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 5px currentColor);
    /* Başlangıçta tam kalkan arkasında, oradan uçuşa dağılacaklar */
    top: 50%; left: 50%;
    margin-top: -0.7rem; margin-left: -0.7rem;
    z-index: 2;
    opacity: 0.8;
}

.icon-1 { animation: float1 4s infinite ease-in-out; color: #E1306C; } /* Insta */
.icon-2 { animation: float2 5s infinite ease-in-out -1s; color: #1877F2; } /* FB */
.icon-3 { animation: float3 4.5s infinite ease-in-out -2s; color: #fff; } /* TikTok */
.icon-4 { animation: float4 5.5s infinite ease-in-out -3s; color: #EA4335; } /* Google */
.icon-5 { animation: float5 6s infinite ease-in-out -1.5s; color: #FC3F1D; } /* Yandex */
.icon-6 { animation: float6 4.8s infinite ease-in-out -4s; color: #00A4EF; } /* Microsoft */

/* Daha Sade Uçma (Salınım) Efektleri - Kalkan etrafında hafifçe süzülme */
@keyframes float1 { 0%, 100% { transform: translate(55px, -45px); } 50% { transform: translate(50px, -55px); } }
@keyframes float2 { 0%, 100% { transform: translate(-50px, 45px); } 50% { transform: translate(-45px, 55px); } }
@keyframes float3 { 0%, 100% { transform: translate(-65px, -35px); } 50% { transform: translate(-55px, -45px); } }
@keyframes float4 { 0%, 100% { transform: translate(45px, 50px); } 50% { transform: translate(55px, 40px); } }
@keyframes float5 { 0%, 100% { transform: translate(0px, -70px); } 50% { transform: translate(0px, -60px); } }
@keyframes float6 { 0%, 100% { transform: translate(-65px, 10px); } 50% { transform: translate(-75px, 0px); } }

@keyframes shieldTechPulse {
    0% { transform: translateY(0) scale(1) rotate(0deg); filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.4)); }
    25% { transform: translateY(-4px) scale(1.02) rotate(-6deg); filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.6)); }
    50% { transform: translateY(-8px) scale(1.05) rotate(0deg); filter: drop-shadow(0 0 30px rgba(20, 184, 166, 0.9)); }
    75% { transform: translateY(-4px) scale(1.02) rotate(6deg); filter: drop-shadow(0 0 15px rgba(20, 184, 166, 0.6)); }
    100% { transform: translateY(0) scale(1) rotate(0deg); filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.4)); }
}

.logo-text {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    margin-top: -10px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.8rem 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.auth-tab:hover {
    color: #e2e8f0;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.2s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.auth-tab.active {
    color: #ffffff;
}

.auth-tab.active::after {
    width: 30%;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeInForm 0.4s ease;
}

.auth-form.active {
    display: flex;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.5;
    margin-left: 0;
    letter-spacing: 0.5px;
    text-align: center;
    display: block;
}

.form-group input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.4);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus {
    border-color: rgba(52, 179, 192, 0.4);
    background: rgba(9, 18, 30, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(52, 179, 192, 0.08);
}

.btn-primary {
    background: linear-gradient(180deg, #34b3c0 0%, #29929d 100%);
    color: #ffffff;
    border: 1px solid #237a83;
    border-top: 1px solid #48c6d3;
    padding: 0.55rem 1.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #3bbfcc 0%, #2e9ca7 100%);
    border-top: 1px solid #57d4e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
    background: #29929d;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    border-top: 1px solid #237a83;
}

/* Panel Styles */
.panel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo .logo-text {
    font-size: 1.5rem;
    margin-top: -5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .panel-header { flex-direction: column; gap: 1rem; text-align: center; }
    .card { padding: 1.5rem; border-radius: 18px; }
    .card-title { font-size: 1.15rem; }
    .list-item { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem; }
    .item-info { width: 100%; }
    .item-actions { justify-content: flex-end; }
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--success));
    transform: translateZ(20px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    transform: translateZ(30px);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
    transform: translateZ(10px);
}

.list-container::-webkit-scrollbar { width: 6px; }
.list-container::-webkit-scrollbar-track { background: transparent; }
.list-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.list-item {
    background: rgba(21, 57, 107, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
    animation: revealList 0.5s forwards;
}

@keyframes revealList {
    to { opacity: 1; transform: translateY(0); }
}

.list-item:hover {
    transform: translateY(-3px) scale(1.01);
    background: rgba(21, 57, 107, 0.8);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.item-info { width: 70%; word-break: break-all; }
.item-info h4 { margin-bottom: 0.35rem; font-size: 1.1rem; color: #fff; }
.item-info p { color: var(--text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem;}
.item-info .totp-code { font-size: 1.8rem; font-weight: 700; color: var(--success); letter-spacing: 4px; font-family: monospace; margin-top: 0.5rem; }

.item-actions { display: flex; gap: 0.5rem; }

.btn-icon, .btn-small {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon { padding: 0.6rem; }

.btn-small:hover, .btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger { background: rgba(52, 179, 192, 0.1); color: var(--danger); border-color: rgba(52, 179, 192, 0.2); }
.btn-danger:hover { background: rgba(52, 179, 192, 0.2); color: #fff; }

.btn-success { background: rgba(20, 184, 166, 0.1); color: var(--success); border-color: rgba(20, 184, 166, 0.2); }
.btn-success:hover { background: rgba(20, 184, 166, 0.2); color: #fff; }

/* Modal */
body:has(.modal.active) {
    overflow: hidden !important;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: flex-start; /* Changed from center */
    padding: 2rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active { display: flex; opacity: 1; }

.modal-content {
    background: var(--bg-gradient-2);
    border: 1px solid var(--glass-border);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    margin: auto; /* Magic property to center it when smaller than viewport, while keeping scrollable when larger */
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
}
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.modal.active .modal-content { transform: scale(1); }

.modal-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem;
}

.modal-header h3 { font-size: 1.4rem; font-weight: 600; }

.close-modal {
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 50%;
    color: var(--text-muted); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s;
}
.close-modal:hover { background: rgba(255,255,255,0.1); color: white; transform: rotate(90deg); }

/* Toast Container ve Kuyruk Sistemi */
#toast-container {
    position: fixed; top: 20px; right: 20px;
    z-index: 99999;
    display: flex; flex-direction: column; gap: 10px;
    pointer-events: none; /* Arkasına tıklanabilsin */
}

.toast {
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: white; backdrop-filter: blur(16px);
    transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 0.75rem;
    font-weight: 500;
    pointer-events: auto;
    overflow: hidden;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--primary); }
.toast.warning { border-left: 4px solid #f59e0b; }

.toast-progress {
    position: absolute; bottom: 0; left: 0; height: 3px; width: 100%;
    animation: toastProgress 3s linear forwards;
}
.toast.success .toast-progress { background: var(--success); }
.toast.error .toast-progress { background: var(--primary); }
.toast.warning .toast-progress { background: #f59e0b; }

@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }

/* OTP Modal Modern UI */
.otp-modal-content {
    max-width: 420px !important;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 2.5rem) !important;
    background: rgba(9, 18, 30, 0.98) !important;
    border: 1px solid rgba(52, 179, 192, 0.2) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.05) !important;
    border-radius: 24px !important;
    width: 92%;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin: 2.5rem 0 0.5rem 0;
}

.otp-digit {
    width: clamp(45px, 12vw, 60px);
    height: clamp(60px, 15vw, 75px);
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(52, 179, 192, 0.2);
    border-radius: 16px;
    color: white;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 4px 15px rgba(0,0,0,0.5);
    font-family: monospace;
}

.otp-digit:focus {
    outline: none;
    background: rgba(52, 179, 192, 0.05);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(52, 179, 192, 0.5), inset 0 4px 10px rgba(0,0,0,0.5);
}

.otp-digit.filled {
    border-color: rgba(52, 179, 192, 0.6);
}

@media (max-width: 480px) {
    .toast { left: 1rem; right: 1rem; width: auto; font-size: 0.9rem; transform: translateY(-150%); bottom: auto; top: 1rem; }
    .toast.show { transform: translateY(0); }
    
    .logo-container h1 { font-size: 1.9rem; margin-top: -0.5rem; }
    .moving-shield { width: 85px; height: 85px; }
    .auth-tab { font-size: 0.85rem; padding: 0.75rem 0; }
    
    .btn-primary { 
        align-self: stretch; 
        width: 100%; 
        padding: 0.85rem; 
        font-size: 0.95rem; 
        margin-top: 1.5rem; 
    }
    
    .form-group label { font-size: 0.8rem; margin-bottom: 0.4rem; }
    .form-group input { padding: 0.8rem 1rem; font-size: 0.9rem; }
    
    .modal-content { 
        padding: 1.5rem; 
        border-radius: 20px; 
        width: 100% !important; 
        max-width: calc(100vw - 1rem) !important; 
        max-height: 90vh !important;
        overflow-y: auto !important;
        box-sizing: border-box;
    }
    .otp-digit { width: 50px; height: 60px; font-size: 2rem; }
    
    .panel-container { padding: 1.5rem 1rem; }
}

/* Method Select Modal Button Styles */
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.method-btn {
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.method-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: all 0.5s ease;
}

.method-btn:hover::before {
    left: 100%;
}

.method-btn:hover {
    background: rgba(52, 179, 192, 0.1);
    border-color: rgba(52, 179, 192, 0.4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(52, 179, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.method-btn:active {
    transform: translateY(1px) scale(0.98);
}

.method-btn .method-icon {
    font-size: 1.8rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(52, 179, 192, 0.4));
}

.method-btn:hover .method-icon {
    transform: scale(1.15);
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(52, 179, 192, 0.8));
}

.method-text-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.method-btn .method-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    transition: color 0.3s;
    text-align: center;
    line-height: 1.2;
}

.method-btn:hover .method-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.method-btn .method-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .auth-container {
        width: 92%;
        padding: 1.5rem;
    }
    .modal-content {
        width: 95%;
        padding: 1.2rem;
        margin: 5px auto;
    }
    .method-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        max-height: 60vh;
        overflow-y: auto;
        padding-right: 0.2rem;
    }
    .method-grid::-webkit-scrollbar { width: 3px; }
    .method-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
    
    .method-btn {
        flex-direction: row;
        text-align: left;
        padding: 0.6rem 0.8rem;
        justify-content: flex-start;
        gap: 0.75rem;
        border-radius: 10px;
        min-height: auto;
    }
    .method-btn .method-icon {
        font-size: 1.25rem;
        margin-right: 0;
    }
    .method-text-area {
        align-items: flex-start;
    }
    .method-btn .method-title {
        font-size: 0.85rem;
        margin-bottom: 0.1rem;
        text-align: left;
    }
    .method-btn .method-subtitle {
        display: block;
        font-size: 0.65rem;
        text-align: left;
        opacity: 0.7;
    }
}

/* OTP Hata Shake Animasyonu */
@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.otp-error {
    animation: shakeError 0.4s ease-in-out;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(52, 179, 192, 0.5) !important;
}

.otp-success {
    border-color: var(--success) !important;
    background: rgba(20, 184, 166, 0.15) !important;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5) !important;
}

/* Desen Kilidi Ghost Mode Sınıfları */
.pattern-ghost-mode .pattern-dot {
    opacity: 0.2 !important;
}
.pattern-ghost-mode canvas {
    opacity: 0 !important; /* Çizgileri tamamen gizle */
}

/* Preloader */
#app-preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-gradient-2); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.loader-shield { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.loader-shield svg { width: 80px; height: 80px; animation: shieldPulse 1.5s infinite alternate; }
.shield-outline { stroke-dasharray: 250; stroke-dashoffset: 250; animation: drawShield 2s ease forwards; }
.loader-text { color: var(--success); font-family: 'Inter', sans-serif; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; animation: fadeInOut 1.5s infinite alternate; }
@keyframes drawShield { to { stroke-dashoffset: 0; } }
@keyframes shieldPulse { from { filter: drop-shadow(0 0 5px var(--success)); transform: scale(1); } to { filter: drop-shadow(0 0 20px var(--success)); transform: scale(1.05); } }
@keyframes fadeInOut { from { opacity: 0.5; } to { opacity: 1; } }


/* Input Glow Effect */
.form-group input:not(:placeholder-shown) { box-shadow: 0 0 15px rgba(20, 184, 166, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2); border-color: rgba(20, 184, 166, 0.4); }
.form-group input:invalid:not(:placeholder-shown) { box-shadow: 0 0 15px rgba(52, 179, 192, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2); border-color: rgba(52, 179, 192, 0.4); }


/* Audio Visualizer */
.audio-visualizer .bar { width: 6px; height: 5px; background: #14b8a6; border-radius: 3px; transition: height 0.05s ease; }
.audio-visualizer .bar:nth-child(2) {  }
.audio-visualizer .bar:nth-child(3) {  }
.audio-visualizer .bar:nth-child(4) {  }
.audio-visualizer .bar:nth-child(5) {  }

@keyframes pulseMic { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 179, 192, 0.7); } 70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(52, 179, 192, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 179, 192, 0); } }
.pulse-mic { animation: pulseMic 1.5s infinite !important; background: #34b3c0 !important; }



/* Face Scanner Laser */
.scanner-laser { position: absolute; width: 100%; height: 2px; background: #34b3c0; box-shadow: 0 0 10px #34b3c0, 0 0 20px #34b3c0; z-index: 4; animation: scanLaser 2s linear infinite; }
@keyframes scanLaser { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }


/* Radar Ping */
.radar-ping { position: relative; }
.radar-ping::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px solid #3b82f6; animation: radarPing 1.5s ease-out infinite; z-index: -1; }
@keyframes radarPing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }



.animated-logo {
    animation: cyberPulse 5s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes cyberPulse {
    0% { transform: perspective(1000px) translateY(0) scale(1) rotateY(0deg) rotateX(0deg); filter: drop-shadow(0 0 8px rgba(52, 179, 192, 0.3)); }
    25% { transform: perspective(1000px) translateY(-6px) scale(1.03) rotateY(12deg) rotateX(4deg); filter: drop-shadow(0 0 15px rgba(52, 179, 192, 0.6)) drop-shadow(0 0 30px rgba(52, 179, 192, 0.3)); }
    50% { transform: perspective(1000px) translateY(-12px) scale(1.06) rotateY(0deg) rotateX(8deg); filter: drop-shadow(0 0 25px rgba(52, 179, 192, 0.9)) drop-shadow(0 0 50px rgba(52, 179, 192, 0.5)); }
    75% { transform: perspective(1000px) translateY(-6px) scale(1.03) rotateY(-12deg) rotateX(4deg); filter: drop-shadow(0 0 15px rgba(52, 179, 192, 0.6)) drop-shadow(0 0 30px rgba(52, 179, 192, 0.3)); }
    100% { transform: perspective(1000px) translateY(0) scale(1) rotateY(0deg) rotateX(0deg); filter: drop-shadow(0 0 8px rgba(52, 179, 192, 0.3)); }
}


/* =========================================
   CLEAN NEO-GLASS MODERN BUTTONS & MODALS
   ========================================= */

/* Primary Buttons (Giriş Yap, Üye Ol vb.) */
.btn-primary, .btn-save-modal {
    background: linear-gradient(135deg, rgba(52, 179, 192, 0.85) 0%, rgba(41, 146, 157, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 0.7rem 1.5rem !important; /* Smaller, modern padding */
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(52, 179, 192, 0.25), inset 0 1px 1px rgba(255,255,255,0.2) !important;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; /* No !important on transition or structural props */
}

.btn-primary:hover, .btn-save-modal:hover {
    background: linear-gradient(135deg, rgba(52, 179, 192, 1) 0%, rgba(45, 158, 170, 1) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 179, 192, 0.4), inset 0 1px 1px rgba(255,255,255,0.3) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Google Button */
.btn-google {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 0.7rem 1.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}
.btn-google img {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

/* =========================================
   PREMIUM MODAL & METHOD SELECTION STYLES
   ========================================= */
.cyber-modal .modal-content, .modal .modal-content {
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
    border-radius: 24px !important;
    padding: 2rem !important;
}

.methods-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    margin: 1.5rem 0 !important;
}

.method-btn {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 1.5rem 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    width: 100% !important;
}

.method-btn:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(52, 179, 192, 0.5) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(52, 179, 192, 0.25) !important;
}

.method-btn:disabled, .method-btn.locked {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    filter: grayscale(100%) !important;
}
.method-btn:disabled:hover, .method-btn.locked:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.method-btn .method-icon {
    font-size: 2rem !important;
    color: #34b3c0 !important;
    transition: transform 0.3s ease;
}
.method-btn:hover .method-icon {
    transform: scale(1.15);
}

.method-btn strong {
    font-size: 0.95rem !important;
    color: #ffffff !important;
}
.method-btn span {
    font-size: 0.75rem !important;
    color: #64748b !important;
    text-align: center !important;
}

/* Modal Divider */
.modal-divider {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    margin: 1.5rem 0 !important;
}
.modal-divider::before, .modal-divider::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.modal-divider::before { margin-right: 1rem !important; }
.modal-divider::after { margin-left: 1rem !important; }

/* Modal Inside Google Button */
.modal-content .btn-google {
    background: #ffffff !important;
    color: #334155 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}
.modal-content .btn-google:hover {
    background: #f8fafc !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}


/* =========================================
   BUTTON WIDTH FIX (COMPACT & CENTERED)
   ========================================= */
.auth-container, .auth-form {
    text-align: center !important;
}

.auth-form .btn-primary, .auth-form .btn-save-modal {
    width: max-content !important;
    min-width: 200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.auth-form .btn-google {
    width: max-content !important;
    min-width: 200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure inputs still span full width inside the centered form */
.auth-form .form-group {
    text-align: left !important;
}


/* =========================================
   CONTINUOUS ANIMATION MODERN BUTTONS
   ========================================= */

@keyframes cyberGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes buttonBreatheGlow {
    0% { 
        box-shadow: 0 4px 15px rgba(52, 179, 192, 0.3), inset 0 1px 1px rgba(255,255,255,0.2);
        transform: translateY(0);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(52, 179, 192, 0.6), inset 0 1px 1px rgba(255,255,255,0.4);
        transform: translateY(-2px);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(52, 179, 192, 0.3), inset 0 1px 1px rgba(255,255,255,0.2);
        transform: translateY(0);
    }
}

.btn-primary, .btn-save-modal {
    /* The continuously moving gradient background */
    background: linear-gradient(270deg, #155e66, #34b3c0, #1b7a85, #34b3c0) !important;
    background-size: 300% 300% !important;
    
    /* The continuous breathing and glowing animation */
    animation: cyberGradientMove 4s ease infinite, buttonBreatheGlow 3s ease-in-out infinite !important;
    
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    transition: filter 0.3s ease !important; /* Fast response to hover */
}

/* Hover overrides the breathing transform temporarily for an interactive feel */
.btn-primary:hover, .btn-save-modal:hover {
    filter: brightness(1.2) !important;
    animation: cyberGradientMove 2s ease infinite !important; /* Speed up gradient on hover */
    box-shadow: 0 10px 30px rgba(52, 179, 192, 0.8), inset 0 1px 1px rgba(255,255,255,0.5) !important;
}

.btn-primary:active, .btn-save-modal:active {
    transform: translateY(2px) !important;
    filter: brightness(0.9) !important;
    box-shadow: 0 2px 10px rgba(52, 179, 192, 0.4) !important;
}


/* =========================================
   RICH SHIMMER BUTTONS WITH ICONS
   ========================================= */

@keyframes shimmerSweep {
    0% { transform: translateX(-150%) skewX(-25deg); }
    100% { transform: translateX(200%) skewX(-25deg); }
}

.btn-primary, .btn-save-modal {
    background: #238b97 !important; /* Solid elegant cyan base */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.1) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important; /* Space between icon and text */
}

/* Ensure text is above shimmer */
.btn-primary span, .btn-primary i {
    z-index: 2 !important;
    position: relative !important;
}

/* Continuous moving shimmer effect */
.btn-primary::after, .btn-save-modal::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 30% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent) !important;
    animation: shimmerSweep 2.5s infinite linear !important; /* Continuous motion */
    z-index: 1 !important;
}

/* Icons inside the button */
.btn-primary i, .btn-save-modal i {
    font-size: 1.1em !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    color: rgba(255,255,255,0.9) !important;
}

/* Hover Effect: Button lifts, icon slides right */
.btn-primary:hover, .btn-save-modal:hover {
    background: #2b9fae !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(52, 179, 192, 0.4), inset 0 1px 1px rgba(255,255,255,0.2) !important;
}

.btn-primary:hover i, .btn-save-modal:hover i {
    transform: translateX(5px) scale(1.15) !important; /* Slide right and pop slightly */
    color: #ffffff !important;
}

/* Active effect */
.btn-primary:active, .btn-save-modal:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* Google Button Shimmer */
.btn-google {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-google::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 30% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent) !important;
    animation: shimmerSweep 3s infinite linear !important;
    z-index: 1 !important;
}

.btn-google img, .btn-google span {
    z-index: 2 !important;
    position: relative !important;
}

.btn-google:hover {
    background: #f8fafc !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
    border-color: #cbd5e1 !important;
}

.btn-google img {
    width: 20px !important;
    height: 20px !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-google:hover img {
    transform: rotate(-10deg) scale(1.15) !important; /* Fun Google hover */
}


/* =========================================
   ULTRA-PREMIUM VIBRANT GRADIENT COLORS
   ========================================= */

.btn-primary, .btn-save-modal {
    /* A very expensive-looking gradient transitioning from luminous Teal to deep Sky/Ocean Blue */
    background: linear-gradient(135deg, #2dd4bf 0%, #0284c7 100%) !important;
    
    /* Elegant soft white border to give a glass-edge feel */
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    
    /* 3D bevel (inner shadow) and outer soft glow */
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 4px 15px rgba(2, 132, 199, 0.3) !important;
    
    /* High quality engraved text shadow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

/* On hover, the gradient shifts to become slightly brighter and more electric */
.btn-primary:hover, .btn-save-modal:hover {
    background: linear-gradient(135deg, #34eecc 0%, #0ea5e9 100%) !important;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 8px 25px rgba(2, 132, 199, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Subtle active press effect */
.btn-primary:active, .btn-save-modal:active {
    background: linear-gradient(135deg, #14b8a6 0%, #0369a1 100%) !important;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}


/* =========================================
   RESPONSIVE FORM LAYOUT FIXES
   ========================================= */

.register-inputs-wrapper {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Mobile Screen View: Stack inputs vertically */
@media (max-width: 600px) {
    .register-inputs-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .register-inputs-wrapper .form-group {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Mobil ekranda e-posta ve telefon inputlarını Ad Soyad ile aynı boyuta getir */
    .register-inputs-wrapper .form-group input {
        padding: clamp(10px, 3vw, 12px) 35px clamp(10px, 3vw, 12px) 12px !important;
        font-size: clamp(0.85rem, 3vw, 0.95rem) !important;
        height: 100% !important;
    }
}


/* =========================================
   DARK THEME BACKGROUND OVERRIDE
   ========================================= */
body, html {
    background-color: transparent !important; /* Tailwind slate-950 (Pitch Black/Navy) */
    
}

/* Ensure the canvas covers everything and stays dark */
#bg-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
    opacity: 1 !important; /* Slightly faded so the dark background pushes through */
}

/* Yöntem Modal Tasarım Geliştirmeleri (Kusursuz V4) */
/* --- 1. Başlıklar ve Ayraçlar (Divider) --- */
.method-group-title {
    color: #14b8a6;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    letter-spacing: 0.5px;
    text-align: center;
}
.method-group-title::before, .method-group-title::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}
.method-group-title::before { margin-right: 15px; }
.method-group-title::after { margin-left: 15px; }

.method-group-title.passive-title {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 25px;
}
.method-group-title.passive-title::before, .method-group-title.passive-title::after {
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

/* --- 2. Izgara (Grid) Sistemi (Masaüstü) --- */
.method-grid-active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}
.method-grid-passive {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: 100%;
}

/* --- 3. Kart Tasarımları --- */
.method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: auto !important;
}

.method-active {
    padding: 14px 8px;
    background: linear-gradient(145deg, rgba(20,184,166,0.08), rgba(15,23,42,0.8));
    border: 1px solid rgba(20, 184, 166, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(20,184,166,0.05);
}
.method-active:hover {
    background: linear-gradient(145deg, rgba(20,184,166,0.15), rgba(15,23,42,0.9));
    border-color: #34b3c0;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.2), inset 0 0 20px rgba(20,184,166,0.1);
    transform: translateY(-3px) scale(1.02);
}
.method-active .method-icon {
    font-size: 1.6rem;
    color: #14b8a6;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(20,184,166,0.5));
}
.method-active .method-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 3px;
    line-height: 1.1;
}
.method-active .method-subtitle {
    font-size: 0.65rem;
    color: #94a3b8;
    line-height: 1.2;
}

.method-passive {
    padding: 10px 4px;
    background: rgba(30, 41, 59, 0.2);
    border: 1px dashed rgba(100, 116, 139, 0.25);
    opacity: 0.55;
    box-shadow: none;
}
.method-passive .method-icon {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 6px;
}
.method-passive .method-title {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.1;
}
.method-passive .method-subtitle {
    font-size: 0.55rem;
    color: #475569;
    line-height: 1;
}

/* --- 4. Modal Boyutu ve Google Butonu Daraltması --- */
#method-select-modal .modal-content {
    max-width: 880px !important;
    width: 95% !important;
    padding: 25px 30px !important;
}

#method-select-modal .btn-google {
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    border-radius: 25px;
}

/* --- 5. Mobil Uyumluluk --- */
@media (max-width: 800px) {
    .method-grid-active { grid-template-columns: repeat(3, 1fr) !important; }
    .method-grid-passive { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 600px) {
    /* Cep telefonlarında kusursuz okuma ve dokunma alanı */
    .method-grid-active { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .method-grid-passive { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
    
    #method-select-modal .modal-content { padding: 20px 15px !important; width: 98% !important; }
    
    .method-group-title { font-size: 0.85rem; padding-bottom: 5px; white-space: nowrap; margin-bottom: 12px; }
    .method-group-title.passive-title { font-size: 0.8rem; margin-top: 20px; white-space: nowrap; }
    .method-group-title::before, .method-group-title::after { flex: 0.5; margin: 0 8px; }
    
    .method-active { padding: 15px 10px; border-radius: 12px; }
    .method-active .method-icon { font-size: 1.8rem; margin-bottom: 10px; }
    .method-active .method-title { font-size: 0.85rem; margin-bottom: 4px; }
    .method-active .method-subtitle { font-size: 0.7rem; }
    
    .method-passive { padding: 12px 8px; border-radius: 10px; }
    .method-passive .method-icon { font-size: 1.4rem; margin-bottom: 8px; }
    .method-passive .method-title { font-size: 0.75rem; margin-bottom: 3px; }
    .method-passive .method-subtitle { font-size: 0.65rem; }
}
