@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f8;
    color: #1a1a2e;
}

/* ---------- LOGIN PAGE ---------- */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 50%, #3b5bdb 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.login-page::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.login-box {
    background: #ffffff;
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    width: 360px;
    z-index: 1;
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo { width: 110px; margin-bottom: 20px; }
.logo-small { width: 42px; vertical-align: middle; border-radius: 8px; }

.login-box h2 {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 24px;
    color: #0b2545;
}

.login-box input {
    width: 100%;
    padding: 13px 16px;
    margin: 8px 0;
    border: 1.5px solid #e2e6f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: 0.25s;
    outline: none;
}

.login-box input:focus {
    border-color: #3b5bdb;
    box-shadow: 0 0 0 3px rgba(59,91,219,0.15);
}

.login-box button {
    width: 100%;
    padding: 13px;
    margin-top: 12px;
    background: linear-gradient(135deg, #1e3a8a, #3b5bdb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,91,219,0.35);
}

.error {
    color: #e63946;
    font-size: 13px;
    margin-bottom: 10px;
    background: #ffe5e7;
    padding: 8px;
    border-radius: 8px;
}

/* ---------- HEADER ---------- */
header {
    background: linear-gradient(135deg, #0b2545, #1e3a8a);
    color: white;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header span {
    font-weight: 500;
    font-size: 14px;
}

header a {
    color: white;
    margin-left: auto;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.2s;
}

header a:hover {
    background: rgba(255,255,255,0.28);
}

/* ---------- MAIN CONTENT ---------- */
main {
    max-width: 780px;
    margin: 40px auto;
    padding: 0 20px;
}

main h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0b2545;
}

main h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 28px 0 14px;
    color: #333;
}

main > p a {
    color: #3b5bdb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* ---------- FORMS ---------- */
.inline-form {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.inline-form input[type="text"],
.inline-form input[type="file"] {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #e2e6f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.inline-form button {
    padding: 12px 22px;
    background: linear-gradient(135deg, #1e3a8a, #3b5bdb);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s;
    white-space: nowrap;
}

.inline-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(59,91,219,0.3);
}

/* ---------- FOLDER / FILE LIST ---------- */
.folder-list {
    list-style: none;
}

.folder-list li {
    background: white;
    margin: 10px 0;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: 0.2s;
}

.folder-list li:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.folder-list li a {
    margin-left: auto;
    color: #3b5bdb;
    text-decoration: none;
    font-weight: 600;
    background: #eef1fb;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.2s;
}

.folder-list li a:hover {
    background: #3b5bdb;
    color: white;
}
.folder-list li a.btn-delete {
    background: #ffe5e7;
    color: #e63946;
    margin-left: 8px;
}

.folder-list li a.btn-delete:hover {
    background: #e63946;
    color: white;
}

