* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
}

/* LOGIN */
.login-body {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 90%;
    max-width: 340px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    text-align: center;
}
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo img {
    max-width: 160px;
    width: 100%;
    height: auto;
}

/* Desktop */
@media (min-width: 768px) {
    .logo img {
        max-width: 190px;
    }
}


.login-card h2 {
    margin-bottom: 15px;
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
}

.login-card button {
    width: 100%;
    padding: 12px;
    background: #1aa64b;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.error {
    color: red;
    margin-top: 10px;
}

/* HEADER */
.topbar {
    height: 60px;
    background: #1aa64b;
    color: #fff;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* PDF VIEWER */
main {
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

canvas {
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,0,0,.15);
}

@media (min-width: 768px) {
    main {
        padding: 30px 80px;
    }
}
