html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}



.bg_img{
    background:url(../img/1.jpg);
    background-size:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login_container{
    background-color:rgba(255,255,255,0.8);
    padding:100px 50px;
    border-radius:50px;
}


.btn_login{
    background-color:purple;
    color:white;
    width:100%;
}

.bg_input{
    background-color:rgba(0,0,0,0.5);
    color:white;
}


.custom-file-label {
    display: block; /* <— inline-block yerine block */
    width: 100%; /* <— butonla aynı genişlik */
    text-align: center;
    padding: 10px 15px;
    background-color: black;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box; /* taşmaları engeller */
}

    .custom-file-label:hover {
        background-color: purple;
    }

.file-count {
    display: block; /* <— sol başlangıç aynı olsun */
    width: 100%; /* <— aynı genişlik */
    margin: 8px 0 0; /* <— aralık */
    font-size: 14px;
    color: #333;
    text-align: center; /* yazı ortada kalsın */
}

.btn_login {
    width: 100%;
    color: white;
}



/* --- Galeri scroll ve grid (önceden verdiklerimizle uyumlu) --- */
.gallery-scroll {
    height: 300px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    box-sizing: border-box;
    border-radius: 10px;
}

.gallery-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

    .gallery-grid li {
        margin: 0;
    }

.thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    cursor: zoom-in;
}

.thumb-video {
    cursor: default;
}

.file-pill {
    display: block;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.06);
    text-decoration: none;
    color: #222;
    font-size: 12px;
    word-break: break-all;
}

/* --- Lightbox --- */
.lb.hidden {
    display: none;
}

.lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.lb-image {
    position: absolute;
    max-width: 90vw;
    max-height: 85vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

    .lb-btn:hover {
        background: rgba(255,255,255,0.35);
    }

.lb-prev {
    left: 24px;
}

.lb-next {
    right: 24px;
}

.lb-close {
    top: 24px;
    right: 24px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
}

/* İndir butonu: resmin altında, ortalı */
.lb-download {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    background: rgba(255,255,255,0.95);
    color: #111;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

    .lb-download:hover {
        background: #fff;
    }
