* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background: #EEEEEE;
    color: #222;
}

.black-strip { background: #000; height: 6px; }

.topbar {
    background: #FDB913;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    background: #000;
    color: #FDB913;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}
.topbar strong {
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    color: #000;
    font-size: 15px;
}

.topnav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topnav a {
    color: #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #000;
}
.topnav-user { font-size: 13px; color: #333; font-weight: 500; }

.main-container { max-width: 1100px; margin: 24px auto; padding: 0 16px 60px; }

h1, h2, h3 {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    color: #000;
}
h1 { text-transform: uppercase; font-size: 22px; }

.card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    margin-bottom: 18px;
}

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 6px; overflow: hidden; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #EEEEEE; font-size: 13px; }
th { background: #000; color: #fff; font-family: "Roboto Condensed", sans-serif; text-transform: uppercase; font-size: 12px; }
tr:hover td { background: #FFF8E6; }

.table-wrapper { overflow-x: auto; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.table-wrapper table { box-shadow: none; }

label { display: block; font-size: 12px; color: #555; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .3px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], input[type=tel], select, textarea {
    width: 100%;
    padding: 9px 10px;
    border: 2px solid #EEEEEE;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #FDB913; }

.btn {
    display: inline-block;
    padding: 10px 22px;
    background: #FDB913;
    color: #000;
    border: 2px solid #FDB913;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
}
.btn:hover { background: #e3a611; border-color: #e3a611; color: #000; }
.btn-outline { background: #fff; color: #000; }
.btn-outline:hover { background: #f5f5f5; }
.btn-danger { background: #fff; color: #c9302c; border-color: #c9302c; }
.btn-danger:hover { background: #fdecea; }

.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e6f6ea; color: #1e7e34; }
.alert-error { background: #fdecea; color: #c9302c; }

.field-validation-error { color: #c9302c; font-size: 12px; display: block; margin-top: -10px; margin-bottom: 10px; }

.login-wrap {
    min-height: calc(100vh - 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.login-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0,0,0,.12);
    overflow: hidden;
}
.login-box .login-header {
    background: #FDB913;
    padding: 20px 30px;
}
.login-box .login-body { padding: 30px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.badge-green { background: #e6f6ea; color: #1e7e34; }
.badge-gray { background: #eee; color: #666; }
.badge-red { background: #fdecea; color: #c9302c; }

@media (max-width: 700px) {
    .main-container { padding: 0 10px 40px; margin: 14px auto; }
    .card { padding: 14px; }
    .topbar { padding: 10px 14px; }
}
