:root {
    --rtech-blue: #0da4dc;
    --rtech-blue-strong: #087fbd;
    --rtech-blue-dark: #0d2c4b;
    --rtech-blue-darker: #08233c;
    --rtech-gray: #5c6670;
    --rtech-gray-light: #eef2f6;
    --rtech-border: #d9e1e8;
    --rtech-white: #ffffff;
    --rtech-green: #17a34a;
    --rtech-green-bg: #d9f7e5;
    --rtech-red: #c62828;
    --rtech-red-bg: #fde2e2;
    --rtech-shadow: 0 4px 14px rgba(18, 44, 70, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f8;
    color: #17324d;
}

a {
    color: inherit;
    text-decoration: none;
}

.rtech-header {
    background: var(--rtech-white);
    border-bottom: 1px solid var(--rtech-border);
}

.rtech-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.rtech-logo {
    width: 260px;
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
}

.rtech-header-divider {
    width: 1px;
    height: 58px;
    background: #9eb3c7;
}

.rtech-title h1 {
    margin: 0;
    color: var(--rtech-blue-dark);
    font-size: 30px;
    font-weight: 700;
}

.rtech-title p {
    margin: 5px 0 0;
    color: #617a93;
    font-size: 16px;
}

.rtech-nav {
    background: linear-gradient(90deg, var(--rtech-blue-strong), var(--rtech-blue-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(13, 44, 75, 0.18);
}

.rtech-nav-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.rtech-nav-item {
    padding: 16px 24px;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,.10);
}

.rtech-nav-item.active {
    background: var(--rtech-blue);
}

.rtech-main {
    max-width: 1500px;
    margin: 28px auto;
    padding: 0 28px;
}

.rtech-card {
    background: var(--rtech-white);
    border: 1px solid #e4e9ee;
    border-radius: 12px;
    box-shadow: var(--rtech-shadow);
    overflow: hidden;
}

.rtech-card-header {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--rtech-border);
}

.rtech-card-title h2 {
    margin: 0;
    font-size: 22px;
    color: var(--rtech-blue-dark);
}

.rtech-card-title p {
    margin: 4px 0 0;
    color: #6a7f94;
    font-size: 14px;
}

.rtech-badge-count {
    background: #edf3f8;
    color: var(--rtech-blue-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.rtech-table-wrap {
    overflow-x: auto;
}

.rtech-table {
    width: 100%;
    border-collapse: collapse;
}

.rtech-table th,
.rtech-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid #e6ebef;
    vertical-align: middle;
}

.rtech-table th {
    background: #f8fafc;
    color: #456079;
    font-size: 14px;
    font-weight: 700;
}

.rtech-table tr:last-child td {
    border-bottom: none;
}

.rtech-table tbody tr:hover {
    background: #f8fbfd;
}

.rtech-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
}

.rtech-status.online {
    color: var(--rtech-green);
}

.rtech-status.offline {
    color: var(--rtech-red);
}

.rtech-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.rtech-access {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.rtech-access.public {
    color: #168441;
    background: var(--rtech-green-bg);
}

.rtech-access.restricted {
    color: #8a5c00;
    background: #fff0bf;
}

.rtech-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid var(--rtech-blue);
    border-radius: 7px;
    color: var(--rtech-blue-strong);
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: .15s ease;
}

.rtech-button:hover {
    background: var(--rtech-blue);
    color: white;
}

.rtech-button.primary {
    background: var(--rtech-blue-strong);
    color: white;
}

.rtech-button.primary:hover {
    background: var(--rtech-blue-dark);
}

.rtech-error {
    margin: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--rtech-red-bg);
    color: var(--rtech-red);
    border: 1px solid #f3bcbc;
}

.rtech-footer {
    margin-top: 36px;
    background: linear-gradient(90deg, var(--rtech-blue-dark), var(--rtech-blue-darker));
    color: white;
}

.rtech-footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

@media (max-width: 800px) {
    .rtech-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .rtech-header-divider {
        display: none;
    }

    .rtech-logo {
        width: 220px;
    }

    .rtech-title h1 {
        font-size: 24px;
    }

    .rtech-nav-inner {
        overflow-x: auto;
    }

    .rtech-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rtech-footer-inner {
        flex-direction: column;
    }
}
