/* Modern Giriş Sayfası Tasarımı - Sadece Giriş Sayfası İçin */
.GirisAnaSablon {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Giriş ekranı varken arkadaki panelleri gizle - z-index ile zaten örtülüyor */
/* Not: Sibling selector kaldırıldı çünkü jQuery .show() ile çakışıyordu */

/* Anasayfa yazı/resim alanları - form dışında kalan içerikler */
.GirisAnaSablon > :not(#girisEkrani) {
    position: relative;
    z-index: 5;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    padding: 10px 20px;
}

/* Anasayfa yazısı stili */
.GirisAnaSablon > div:not(#girisEkrani):not(.formalani) {
    font-size: 14px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    margin-top: 10px;
}

/* Anasayfa resmi stili */
.GirisAnaSablon > img {
    max-width: 300px;
    max-height: 150px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Animasyonlu arka plan parçacıkları */
.GirisAnaSablon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

#girisEkrani {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.formalani {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form başlığı */
#formic h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

#formic h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.welcome-text {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 400;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input alanları */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.girisInput {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    outline: none;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.3s ease;
}

.girisInput:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.girisInput:focus + .input-icon {
    color: #667eea;
}

.girisInput::placeholder {
    color: #adb5bd;
}

/* Cinsiyet seçimi */
.cinsiyet-alani {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.cinsiyet-alani input[type="radio"] {
    display: none;
}

.cinsiyet-alani label {
    padding: 12px 24px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
    background: #f8f9fa;
    min-width: 80px;
}

.cinsiyet-alani input[type="radio"]:checked + label {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Giriş butonu */
.girisButonu {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.girisButonu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.girisButonu:hover::before {
    left: 100%;
}

.girisButonu:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.girisButonu:active {
    transform: translateY(-1px);
}

/* Alt butonlar */
.altbutton {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.altbutton a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.altbutton a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Responsive tasarım */
@media (max-width: 480px) {
    #girisEkrani {
        padding: 10px;
    }
    
    .formalani {
        padding: 30px 20px;
    }
    
    #formic h1 {
        font-size: 24px;
    }
    
    .cinsiyet-alani {
        flex-direction: column;
        align-items: center;
    }
    
    .cinsiyet-alani label {
        width: 100%;
        max-width: 200px;
    }
}

/* Loading animasyonu - sadece giriş sayfasında */
.GirisAnaSablon .yukleniyor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.GirisAnaSablon .yukleniyor::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gizli sınıflar */
.gizle {
    display: none !important;
}

/* giriskontz arka planı .GirisAnaSablon sınıfından gelir */

.dissayfa {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    margin: 20px auto !important;
    max-width: 450px !important;
    padding: 40px !important;
}

.anladim {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.anladim:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4) !important;
}