body {
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
    background:#f4f6f9;
}

/* ヘッダー */
header {
    background:#111827;
    color:white;
    padding:18px;
    text-align:center;
    font-weight:bold;
    font-size:18px;
    position:relative;
}
.logout {
    position:absolute;
    right:15px;
    top:18px;
    font-size:14px;
    color:#f87171;
    text-decoration:none;
}

/* コンテナ */
.container {
    padding:18px;
    max-width:800px;
    margin:auto;
}

/* ログイン */
.login-box {
    max-width:400px;
    margin:80px auto;
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}
.login-box input {
    width:100%;
    padding:10px;
    margin-bottom:15px;
}
.error {
    color:red;
}

/* アップロードカード */
.upload-card {
    background:white;
    padding:20px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    margin-bottom:25px;
}

button {
    padding:10px 16px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

/* ファイルカード */
.file-card {
    background:white;
    padding:18px;
    border-radius:14px;
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
    margin-bottom:15px;
}
.filename {
    font-weight:600;
    word-break:break-all;
}
.date {
    font-size:14px;
    color:#666;
    margin-top:5px;
}
.delete-btn {
    margin-top:10px;
    display:inline-block;
    padding:8px 14px;
    background:#fee2e2;
    color:#b91c1c;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}
/* ===== QRコード用レイアウト ===== */

.qr-container {
    text-align: center;
}

.qr-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
}

.qr-block {
    text-align: center;
}

/* スマホ対応 */
@media (max-width: 600px) {

    .qr-row {
        flex-direction: column;
        gap: 30px;
    }

    .qr-block img {
        width: 220px;   /* ← 好みで 200?260 に調整可能 */
        height: auto;
    }

}
