* {
    box-sizing: border-box;
}

body {
    margin:0;
    font-family: Arial, sans-serif;
    background:#f2f2f2;
}

/* Login */
.center {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100vh;
}

.box {
    background:white;
    padding:25px;
    border-radius:12px;
    width:100%;
    max-width:400px;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

h2 {
    margin:0 0 15px;
}

/* Inputs */
input {
    width:100%;
    padding:14px;
    margin-top:10px;
    border-radius:8px;
    border:1px solid #ddd;
    font-size:16px;
}

/* Button */
button {
    width:100%;
    padding:14px;
    margin-top:12px;
    background:black;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
}

/* Dashboard */
.header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
}

.logout {
    background:red;
    color:white;
    padding:8px 12px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}

.card {
    background:white;
    padding:15px;
    border-radius:12px;
    margin:15px;
    box-shadow:0 2px 5px rgba(0,0,0,0.05);
    overflow:hidden;
}

.book {
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.code {
    font-weight:bold;
}

.small {
    color:#666;
    font-size:14px;
}

.error {
    color:red;
    text-align:center;
    margin-top:10px;
}
.book-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.book-left {
    flex:1;
}

.book-actions {
    display:flex;
    gap:8px;
}

.btn-small {
    padding:8px 10px;
    font-size:12px;
    border-radius:6px;
    text-decoration:none;
    color:white;
    background:black;
}

.btn-small.gray {
    background:#555;
}
.action-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.action-row button,
.action-row a {
    flex: 1;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;

    border: none;
    margin: 0;          /* FIX */
    padding: 0;         /* FIX */
    line-height: 1;     /* FIX */

    cursor: pointer;
}

/* Farben */
.btn-delete {
    background: #c62828;
    color: #fff;
}

.btn-save {
    background: #000;
    color: #fff;
}

.btn-back {
    background: #444;
    color: #fff;
}
label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}
.book-detail-row {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
textarea {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
    resize: vertical;
    font-family: Arial, sans-serif;
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}