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

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --red: #c0392b;
    --red-dark: #a93226;
    --red-light: #e74c3c;
    --text: #ffffff;
    --text-muted: #999;
    --text-dim: #666;
    --border: #333;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --radius: 4px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--red-light); text-decoration: none; }
a:hover { color: var(--text); }

/* HEADER */
.site-header {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
    text-decoration: none;
    line-height: 1;
}

.logo-hor, .logo-ets {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 2px;
}

.logo-n {
    font-size: 34px;
    font-weight: 900;
    color: var(--red);
    letter-spacing: 0;
}

.logo-sub {
    display: block;
    width: 100%;
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: -2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

.main-nav .nav-btn {
    background: var(--red);
    color: #fff !important;
    padding: 8px 20px;
}

.main-nav .nav-btn:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* HERO */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 .red { color: var(--red); }

.hero-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-red {
    background: var(--red);
    color: #fff;
}
.btn-red:hover { background: var(--red-dark); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); color: #fff; }

.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; }
.btn-warning { background: var(--warning); color: #000; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }

/* SIDEBAR */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.sidebar-card h3 {
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sidebar-card .promo-banner {
    background: var(--red);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 15px;
}

.sidebar-card .promo-banner h2 {
    font-size: 28px;
    font-weight: 800;
}

.sidebar-card .promo-banner p {
    font-size: 14px;
    opacity: 0.9;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info .icon { width: 18px; height: 18px; }

.quick-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}
.quick-links a:hover { color: var(--text); }
.quick-links a:last-child { border-bottom: none; }

.news-thumb {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-thumb-info {
    padding: 12px;
}

.news-thumb-info .date { color: var(--text-dim); font-size: 12px; }
.news-thumb-info h4 { font-size: 14px; margin-top: 4px; }
.news-thumb-info p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* SERVICE GRID */
.services-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-card {
    background: var(--red);
    border-radius: var(--radius);
    padding: 30px 24px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    display: block;
}

.service-card:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    color: #fff;
}

.service-card .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #fff;
}

.service-card .card-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.service-card p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

/* FEATURES BAR */
.features-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-item .feat-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--red);
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* FOOTER */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand .logo-hor, .footer-brand .logo-ets { font-size: 22px; }
.footer-brand .logo-n { font-size: 26px; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
    color: var(--text-dim);
    font-size: 12px;
}

/* PAGES */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-container.narrow {
    max-width: 800px;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--red);
    padding-bottom: 15px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 800;
}

.page-header p {
    color: var(--text-muted);
    margin-top: 8px;
}

/* CONTENT */
.content-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
}

.content-block h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--red);
}

.content-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-block ul, .content-block ol {
    color: var(--text-muted);
    margin-left: 20px;
    margin-bottom: 12px;
}

/* FORMS */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    accent-color: var(--red);
    width: 16px;
    height: 16px;
}

.form-check label {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* FLASH */
.flash {
    max-width: 1400px;
    margin: 20px auto;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.flash-success { background: rgba(39,174,96,0.15); color: var(--success); border: 1px solid rgba(39,174,96,0.3); }
.flash-error { background: rgba(231,76,60,0.15); color: var(--danger); border: 1px solid rgba(231,76,60,0.3); }
.flash-warning { background: rgba(243,156,18,0.15); color: var(--warning); border: 1px solid rgba(243,156,18,0.3); }
.flash-info { background: rgba(52,152,219,0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }

/* TABLES */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-dark);
    border-bottom: 2px solid var(--red);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.data-table tr:hover td { background: rgba(255,255,255,0.02); }

.data-table .actions { white-space: nowrap; }
.data-table .actions a, .data-table .actions button {
    font-size: 12px;
    padding: 4px 10px;
    margin-right: 4px;
}

/* STATUS BADGES */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active, .badge-open, .badge-approved { background: rgba(39,174,96,0.2); color: var(--success); }
.badge-inactive, .badge-closed, .badge-rejected { background: rgba(231,76,60,0.2); color: var(--danger); }
.badge-pending { background: rgba(243,156,18,0.2); color: var(--warning); }
.badge-new { background: rgba(52,152,219,0.2); color: #3498db; }

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 { font-size: 18px; }

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
}
.modal-close:hover { color: var(--text); }

.modal-body { padding: 24px; }
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* NEWS MODAL */
.news-modal .modal {
    max-width: 700px;
}

.news-modal .news-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

/* TOGGLE SWITCH */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--border);
    border-radius: 13px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle input:checked + .toggle-slider { background: var(--success); }
.toggle input:checked + .toggle-slider:before { transform: translateX(22px); }

/* INTERNAL LAYOUT */
.internal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
}

.internal-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 20px 0;
}

.sidebar-user {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.sidebar-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-user h3 { font-size: 16px; }
.sidebar-user .status {
    font-size: 12px;
    color: var(--success);
}
.sidebar-user .status.inactive { color: var(--danger); }

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: rgba(192,57,43,0.1);
    color: var(--text);
    border-left: 3px solid var(--red);
}

.sidebar-menu a .menu-icon {
    width: 20px;
    height: 20px;
}

.sidebar-menu a .menu-icon svg {
    width: 100%;
    height: 100%;
}

.sidebar-menu .menu-divider {
    border-top: 1px solid var(--border);
    margin: 10px 0;
}

.internal-content {
    padding: 30px;
    overflow-y: auto;
}

.internal-content .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.internal-content .page-header .actions {
    display: flex;
    gap: 10px;
}

/* DASHBOARD GRID */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.dash-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    color: var(--text);
}

.dash-card .card-icon {
    width: 40px;
    height: 40px;
    background: var(--red);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #fff;
}

.dash-card .card-icon svg {
    width: 22px;
    height: 22px;
}

.dash-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-card p {
    font-size: 13px;
    color: var(--text-muted);
}

.dash-card .card-count {
    font-size: 32px;
    font-weight: 800;
    color: var(--red);
}

/* SERVICE POSTING CARD */
.posting-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 15px;
}

.posting-card .posting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.posting-card h3 { font-size: 18px; }

.posting-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.posting-meta .meta-item {
    font-size: 13px;
    color: var(--text-muted);
}

.posting-meta .meta-item strong {
    color: var(--text);
    display: block;
    font-size: 14px;
}

.posting-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

/* ID CARD */
.id-card-preview {
    max-width: 400px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--red);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.id-card-preview .card-logo {
    margin-bottom: 15px;
}

.id-card-preview .card-photo {
    width: 100px;
    height: 120px;
    background: var(--border);
    border-radius: var(--radius);
    margin: 0 auto 15px;
    overflow: hidden;
}

.id-card-preview .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-preview .card-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.id-card-preview .card-rank {
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
}

.id-card-preview .card-number {
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 12px;
}

/* CHAT */
.chat-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 500px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.chat-users {
    background: var(--bg-dark);
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.chat-user-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    color: var(--text);
}

.chat-user-item:hover, .chat-user-item.active { background: rgba(192,57,43,0.1); color: var(--text); }

.chat-user-item h4 { font-size: 14px; }
.chat-user-item .last-msg { font-size: 12px; color: var(--text-muted); }

.chat-main { display: flex; flex-direction: column; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.chat-msg {
    margin-bottom: 12px;
    max-width: 70%;
}

.chat-msg.sent { margin-left: auto; text-align: right; }
.chat-msg .msg-sender { font-size: 11px; color: var(--text-dim); margin-bottom: 2px; }
.chat-msg .msg-text {
    background: var(--bg-dark);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    display: inline-block;
}
.chat-msg.sent .msg-text { background: var(--red); }
.chat-msg .msg-time { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

.chat-input {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--border);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
}

.chat-input button {
    padding: 10px 20px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
}

/* LOGIN PAGE */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
}

.login-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 24px;
}

.login-box .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.login-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: var(--bg-dark);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
}

.login-tab.active {
    background: var(--red);
    color: #fff;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-muted);
}

.pagination a:hover { border-color: var(--red); color: var(--text); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* FILE UPLOAD */
.file-drop {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.file-drop:hover, .file-drop.dragover { border-color: var(--red); }
.file-drop p { color: var(--text-muted); font-size: 14px; }
.file-drop .file-icon { font-size: 36px; margin-bottom: 10px; color: var(--text-dim); }
.file-drop input[type="file"] { display: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-sidebar { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bar { grid-template-columns: repeat(2, 1fr); }
    .internal-layout { grid-template-columns: 1fr; }
    .internal-sidebar {
        position: fixed;
        left: -260px;
        top: 70px;
        bottom: 0;
        width: 260px;
        z-index: 999;
        transition: left 0.3s;
    }
    .internal-sidebar.open { left: 0; }
}

@media (max-width: 768px) {
    .main-nav ul { display: none; }
    .main-nav ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px;
    }
    .nav-toggle { display: block; }
    .hero-text h1 { font-size: 32px; }
    .services-grid { grid-template-columns: 1fr; }
    .features-bar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .chat-container { grid-template-columns: 1fr; }
    .chat-users { display: none; }
    .posting-meta { grid-template-columns: 1fr; }
}

/* SIGNATURE PAD */
.signature-area {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    min-height: 150px;
    margin-bottom: 10px;
}

.signature-area canvas {
    width: 100%;
    height: 150px;
    cursor: crosshair;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-dim);
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.empty-state p { font-size: 14px; }

/* TABS */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab:hover, .tab.active {
    color: var(--text);
    border-bottom-color: var(--red);
}

/* NOTIFICATION DOT */
.notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: var(--red);
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    padding: 0 4px;
    margin-left: 6px;
}
