/* GENEL */
body {
    margin:0;
    padding:0;
    background:#f0f2f5;
    font-family: Arial, sans-serif;
}

/* LOGIN KUTUSU */
.login-box {
    width:350px;
    margin:100px auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 0 20px rgba(0,0,0,0.2);
    text-align:center;
}

input {
    width:100%;
    padding:12px;
    margin:10px 0;
    border-radius:10px;
    border:1px solid #ccc;
}

button {
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#0066ff;
    color:white;
    cursor:pointer;
    margin-top:10px;
}

button:hover {
    background:#004bcc;
}

/* HATA MESAJI */
.error {
    background:#ffd9d9;
    padding:10px;
    border-radius:10px;
    color:#c40000;
    margin-bottom:15px;
}

/* PANEL GENEL */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding-top: 30px;
}

/* BAŞLIK */
h1, h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

/* DOSYA YÜKLEME KUTUSU */
.upload-box {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.btn-upload {
    margin-top: 10px;
    padding: 12px;
    border: none;
    background: #0066ff;
    color: white;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

.btn-upload:hover {
    background:#004bcc;
}

/* DOSYA LİSTESİ (LIST MODE) */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* DOSYA KUTUSU */
.file-item {
    display: flex;
    align-items: center;
    background:white;
    padding:15px;
    border-radius:18px;
    box-shadow:0 0 15px rgba(0,0,0,0.1);
    gap: 20px;
}

/* ÖNİZLEME */
.file-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    background:#eaeaea;
}

/* DOSYA BİLGİ ALANI */
.file-info {
    flex: 1;
}

.file-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    word-break: break-word;
}

/* BUTONLAR */
.file-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn {
    padding: 10px 14px;
    text-align: center;
    background: #2196F3;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

.btn:hover {
    background: #1976D2;
}

.btn-delete {
    background: #d32f2f;
}

.btn-delete:hover {
    background: #b71c1c;
}

/* JS ile kullanılan buton */
button.btn {
    border: none;
    cursor: pointer;
}

/* GOOGLE ICON DOSYA ÖNİZLEME */
.file-icon {
    font-size: 110px;      /* ikon büyütüldü */
    color: #555;
    
    width: 140px;          /* kutu büyütüldü */
    height: 140px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaeaea;
    border-radius: 16px;

    flex-shrink: 0;        /* ikonun sıkışmasını engeller */
}

