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

body {
    font-family: Arial, Verdana, Tahoma, sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    background: #eef1f4;
    line-height: 1.5;
}

a {
    color: #1a5a99;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
}

/* ---------- Top strip ---------- */
.topbar {
    background: #143a5a;
    color: #cdd9e5;
    font-size: 12px;
}

.topbar .container {
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 16px;
}

.topbar a {
    color: #cdd9e5;
}

/* ---------- Header ---------- */
.header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 3px solid #1a5a99;
}

.logo-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    background: #1a5a99;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
}

.logo-text h1 {
    font-size: 22px;
    color: #143a5a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .slogan {
    font-size: 12px;
    color: #6b7680;
}

.header-contact {
    margin-left: auto;
    text-align: right;
    font-size: 13px;
}

.header-contact .phone {
    font-size: 18px;
    font-weight: bold;
    color: #143a5a;
}

/* ---------- Navigation ---------- */
.nav {
    background: #1a5a99;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
}

.nav li a {
    display: block;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav li a:hover,
.nav li a.active {
    background: #143a5a;
    text-decoration: none;
}

/* ---------- Content ---------- */
.main {
    display: flex;
    gap: 20px;
    padding: 20px 16px;
}

.content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 240px;
    flex: 0 0 240px;
}

.content h2 {
    font-size: 20px;
    color: #143a5a;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dde3e8;
}

.content h3 {
    font-size: 16px;
    color: #1a5a99;
    margin: 16px 0 8px;
}

.content p {
    margin-bottom: 10px;
}

.content ul.dashed {
    list-style: none;
    margin: 10px 0 10px 4px;
}

.content ul.dashed li {
    padding: 3px 0 3px 16px;
    position: relative;
}

.content ul.dashed li:before {
    content: "\2013";
    position: absolute;
    left: 0;
    color: #1a5a99;
}

/* ---------- Boxes ---------- */
.box {
    border: 1px solid #dde3e8;
    background: #f7f9fb;
    margin-bottom: 16px;
}

.box .box-title {
    background: #e3e9ef;
    color: #143a5a;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-bottom: 1px solid #dde3e8;
}

.box .box-body {
    padding: 12px;
    font-size: 13px;
}

.box .box-body ul {
    list-style: none;
}

.box .box-body ul li {
    padding: 4px 0;
    border-bottom: 1px dotted #d6dde3;
}

.box .box-body ul li:last-child {
    border-bottom: none;
}

/* ---------- Login form ---------- */
.login-wrap {
    max-width: 360px;
    margin: 0 auto;
}

.login-card {
    border: 1px solid #dde3e8;
    background: #f7f9fb;
}

.login-card .login-head {
    background: #143a5a;
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-card .login-body {
    padding: 20px;
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #444;
}

.form-row input[type="text"],
.form-row input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c3ccd4;
    font-size: 14px;
    background: #fff;
}

.form-row input:focus {
    outline: none;
    border-color: #1a5a99;
}

.checkbox-row {
    font-size: 13px;
    margin-bottom: 14px;
    color: #444;
}

.btn {
    display: inline-block;
    background: #1a5a99;
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 14px;
    cursor: pointer;
}

.btn:hover {
    background: #143a5a;
}

.form-links {
    margin-top: 12px;
    font-size: 12px;
}

.alert-error {
    display: none;
    background: #fbe6e6;
    border: 1px solid #e0a3a3;
    color: #9b1c1c;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 14px;
}

.notice {
    background: #fff8e1;
    border: 1px solid #ecd98a;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 16px;
    color: #6b5a15;
}

/* ---------- Table ---------- */
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 16px;
}

table.data th,
table.data td {
    border: 1px solid #dde3e8;
    padding: 8px 10px;
    text-align: left;
}

table.data th {
    background: #e3e9ef;
    color: #143a5a;
}

table.data tr:nth-child(even) td {
    background: #f7f9fb;
}

/* ---------- Footer ---------- */
.footer {
    background: #143a5a;
    color: #aebccb;
    font-size: 12px;
    margin-top: 10px;
}

.footer .container {
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
}

.footer a {
    color: #cdd9e5;
}

@media (max-width: 780px) {
    .main {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        flex: 1;
    }
    .header {
        flex-wrap: wrap;
    }
    .header-contact {
        margin-left: 0;
        text-align: left;
    }
}
