/* assets/style.css */

/* Global */
body {
    font-family: "Inter", Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: #5b6cff; }

.wrap {
    max-width: 1100px;
    margin: 20px auto;
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.05);
}

.box {
    max-width: 420px;
    margin: 50px auto;
    background: #fff;
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.06);
}

/* Inputs */
input, button, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 7px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

button {
    background: #5b6cff;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

button:hover { background: #4a55d3; }

.err {
    color: #b00020;
    margin: 5px 0;
}

.ok {
    color: #0a8a00;
    margin: 5px 0;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* Header */
header {
    background: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow:0px 2px 6px rgba(0,0,0,0.05);
}

header a {
    margin-left: 12px;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 7px 12px;
    display: inline-block;
    background: #5b6cff;
    color: white;
    border-radius: 6px;
    margin-right: 6px;
}

.btn-danger {
    background: #d33;
}

/* Small text */
.small {
    font-size: 13px;
    color: #666;
}

/* Cards */
.card {
    background: white;
    padding: 16px;
    flex: 1;
    min-width: 170px;
    border-radius: 10px;
    box-shadow:0px 6px 18px rgba(0,0,0,0.04);
}

.cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Dark Theme (optional future) */
.dark-theme {
    background: #121212 !important;
    color: #fff !important;
}
