﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Tam ekran yüksekliği */
    width: 100%; /* Tam ekran genişliği */
    overflow: hidden; /* Taşmaları gizler */
}

.container2 {
    width: 100vw; /* Ekranın tam genişliği */
    height: 100vh; /* Ekranın tam yüksekliği */
    background-image: url('/images/background.jpg'); /* Arka plan resmi */
    background-size: cover; /* Resmi ekranı kaplayacak şekilde ayarlar */
    background-position: center; /* Resmi ortalar */
    display: flex; /* İçeriği ortalamak için flexbox */
    justify-content: center; /* Yatayda ortalama */
    align-items: center; /* Dikeyde ortalama */
    position: fixed; /* Tam ekran konumlandırma */
    top: 0; /* Ekranın en üstünden başlar */
    left: 0; /* Ekranın solundan başlar */
}

.card {
    width: 350px;
    background-color: rgba(0, 0, 0, 0.8); /* Şeffaf siyah arka plan */
    border-radius: 12px; /* Köşeleri yuvarlat */
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Gölge efekti */
    color: white;
    text-align: center;
}


    .card h3 {
        font-weight: bold;
        margin-bottom: 20px;
        color: white;
        text-align: center;
    }
    .card p {
        font-size: 14px;
        color: #f1f1f1;
        text-align: center;
        margin-bottom: 15px;
    }

    .card a {
        color: #ffc312;
        text-decoration: none;
        font-weight: bold;
    }

        .card a:hover {
            text-decoration: underline;
        }

.form-floating {
    margin-bottom: 15px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 10px;
}

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .form-control:focus {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: none;
        border-color: #ffc312;
    }

.card .btn-primary {
    margin-top: 10px;
    background-color: #ffc312;
    border: none;
    width: 100%;
    padding: 10px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}


.card .btn-secondary {
    margin-top: 10px;
    background-color: #6c757d;
    border: none;
    width: 100%;
    padding: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.card .btn-primary:hover {
    background-color: #ff8c00;
    color: white;
}

.card .btn-secondary:hover {
    background-color: #5a6268;
}

.card .btn {
    display: block;
    width: 100%; /* Buton genişliği tam olsun */
    margin-bottom: 10px; /* Alt boşluk ekle */
}

    /* Son butonun altında boşluk olmasını istemiyorsanız */
    .card .btn:last-child {
        margin-bottom: 0;
    }

.links a {
    color: #FFC312;
    text-decoration: none;
    font-weight: 500;
    margin-top: 5px;
    display: inline-block;
}

    .links a:hover {
        text-decoration: underline;
    }

/* Form içindeki yazılar her zaman beyaz olacak */
.form-floating .form-control {
    color: white !important; /* Yazı rengini beyaz yap */
    background-color: transparent !important; /* Arka plan şeffaf olsun */
    border: 1px solid #ccc !important; /* Çerçeve rengi */
}

    /* Kullanıcı yazarken de yazı rengi beyaz kalsın */
    .form-floating .form-control:focus {
        color: white !important;
        background-color: transparent !important;
    }

/* Placeholder yazıları da beyaz olsun */
.form-floating label {
    color: rgba(255, 255, 255, 0.8) !important; /* Açık beyaz (daha görünür) */
}

/* Giriş yaparken otomatik tamamlamayı beyaz yap */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #222 inset !important;
    -webkit-text-fill-color: white !important;
}

/* Şifre ve diğer alanlar için de geçerli */
input[type="password"], input[type="text"], input[type="email"] {
    color: white !important;
}

/* Logoların konteyneri */
.logos {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px; /* Logolar arasındaki boşluk */
}

    /* Logoların varsayılan görünümü */
    .logos .logo {
        width: 70px; /* Boyutu biraz daha kare yap */
        height: 70px; /* Kare görünüm */
        border-radius: 15px; /* Hafif yuvarlatılmış köşeler */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Hafif gölgeler */
        transition: all 0.3s ease-in-out; /* Yumuşak geçiş efekti */
    }

        /* Hover efekti: Buton gibi renk değiştir */
        .logos .logo:hover {
            transform: scale(1.1); /* Hafif büyütme */
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4); /* Daha büyük gölge */
            cursor: pointer;
            border: 2px solid #ffc312; /* Sarı çerçeve */
            filter: brightness(1.1); /* Hafif parlama */
        }

/* Tooltip Konteyner */
.tooltip-container {
    position: relative;
    display: inline-block;
}

/* Tooltip Metni */
.tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    /* Pozisyon */
    position: absolute;
    bottom: 120%; /* Yukarıda görünmesi için */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Tooltip Hover */
.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Başlık için tasarım */
.form-header {
    text-align: center;
    margin-top: 1px; /* Yukarıdan boşluk */
    margin-bottom: 1px; /* Formdan önce boşluk */
    padding: 1px 0;
    width: 100%; /* Tam genişlik */
    background-color: rgba(0, 0, 0, 0.6); /* Arka plan rengi (şeffaf siyah) */
    border-radius: 10px; /* Köşeleri yuvarlat */
}

    /* Başlık yazı stili */
    .form-header h1 {
        color: white; /* Beyaz yazı rengi */
        font-size: 20px; /* Yazı boyutu */
        font-weight: bold; /* Kalın yazı */
        text-transform: uppercase; /* Büyük harf */
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Hafif gölge */
    }
