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

:root {
    --sidebar-w: 280px;
    --topbar-h: 70px;
    --bg1: #0a1a0f;
    --bg2: #0d2015;
    --bg3: #122a1a;
    --card: rgba(46, 204, 113, 0.04);
    --card2: rgba(46, 204, 113, 0.08);
    --border: rgba(46, 204, 113, 0.12);
    --t1: #e8f5e9;
    --t2: rgba(200, 255, 220, 0.6);
    --t3: rgba(200, 255, 220, 0.3);
    --acc: #2ecc71;
    --acc2: #27ae60;
    --ok: #2ecc71;
    --warn: #f39c12;
    --err: #e74c3c;
    --info: #3498db;
    --glow: rgba(46, 204, 113, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg1);
    color: var(--t1);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ORBS BACKGROUND */
.orbs-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatOrb linear infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.6), transparent);
    top: 10%;
    left: 15%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.5), transparent);
    top: 60%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.4), transparent);
    bottom: 20%;
    left: 40%;
    animation-duration: 16s;
    animation-delay: -8s;
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(88, 214, 141, 0.4), transparent);
    top: 30%;
    right: 30%;
    animation-duration: 20s;
    animation-delay: -3s;
}

.orb-5 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.35), transparent);
    top: 70%;
    left: 10%;
    animation-duration: 24s;
    animation-delay: -10s;
}

.orb-6 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.3), transparent);
    top: 5%;
    right: 20%;
    animation-duration: 19s;
    animation-delay: -7s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.1); }
    50% { transform: translate(-40px, 80px) scale(0.9); }
    75% { transform: translate(60px, 40px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* LOGIN */
.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(13, 32, 21, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(46, 204, 113, 0.08);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.3);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.logo p {
    color: var(--t3);
    font-size: 14px;
    margin-top: 6px;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: 0.2s;
}

.form-group input::placeholder {
    color: var(--t3);
}

.form-group input:focus {
    outline: none;
    border-color: var(--acc);
    background: rgba(46, 204, 113, 0.1);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group select option {
    background: var(--bg3);
    color: #fff;
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.5);
}

.demo-accounts {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.demo-accounts p {
    color: var(--t3);
    font-size: 12px;
    margin-bottom: 12px;
}

.demo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.demo-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    cursor: pointer;
    transition: 0.2s;
    color: #fff;
}

.demo-tag:hover {
    transform: scale(1.05);
}

.demo-tag.owner {
    background: rgba(46, 204, 113, 0.3);
}

.demo-tag.admin {
    background: rgba(88, 214, 141, 0.3);
}

.demo-tag.builder {
    background: rgba(39, 174, 96, 0.3);
}

.demo-tag.owner:hover {
    background: rgba(46, 204, 113, 0.5);
}

.demo-tag.admin:hover {
    background: rgba(88, 214, 141, 0.5);
}

.demo-tag.builder:hover {
    background: rgba(39, 174, 96, 0.5);
}

/* DASHBOARD */
.dashboard {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: var(--sidebar-w);
    background: rgba(13, 32, 21, 0.9);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 14px;
}

.server-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-info h2 {
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.server-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
}

.server-status.online {
    background: rgba(46, 204, 113, 0.2);
    color: var(--ok);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--t2);
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 2px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-family: inherit;
}

.nav-item:hover {
    background: var(--card2);
    color: var(--t1);
}

.nav-item.active {
    background: rgba(46, 204, 113, 0.15);
    color: var(--acc);
    box-shadow: inset 3px 0 0 var(--acc);
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    image-rendering: pixelated;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.user-role {
    font-size: 11px;
    color: var(--t3);
    text-transform: capitalize;
}

.logout-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t2);
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.15);
    color: var(--err);
}

.logout-btn svg {
    width: 18px;
    height: 18px;
}

.settings-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t2);
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.settings-btn:hover {
    background: rgba(46, 204, 113, 0.15);
    color: var(--acc);
}

/* MAIN */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: var(--topbar-h);
    background: rgba(13, 32, 21, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--t1);
    cursor: pointer;
    border-radius: 8px;
}

.menu-toggle:hover {
    background: var(--card2);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(46, 204, 113, 0.15);
}

.topbar-actions {
    margin-left: auto;
}

.current-time {
    color: var(--t2);
    font-size: 14px;
    font-weight: 500;
}

.content-area {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

/* CARDS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: 0.3s;
}

.stat-card:hover {
    background: var(--card2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-icon svg {
    width: 24px;
    height: 24px;
}

.stat-card-icon.blue {
    background: rgba(52, 152, 219, 0.2);
}

.stat-card-icon.blue svg {
    color: var(--info);
}

.stat-card-icon.green {
    background: rgba(46, 204, 113, 0.2);
}

.stat-card-icon.green svg {
    color: var(--ok);
}

.stat-card-icon.orange {
    background: rgba(243, 156, 18, 0.2);
}

.stat-card-icon.orange svg {
    color: var(--warn);
}

.stat-card-icon.purple {
    background: rgba(155, 89, 182, 0.2);
}

.stat-card-icon.purple svg {
    color: #9b59b6;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card-label {
    color: var(--t2);
    font-size: 14px;
}

.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 24px;
}

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

.content-card-title {
    font-size: 16px;
    font-weight: 600;
}

.content-card-body {
    padding: 24px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    text-decoration: none;
    font-family: inherit;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--acc), var(--acc2));
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: rgba(46, 204, 113, 0.08);
    color: var(--t1);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(46, 204, 113, 0.15);
}

.btn-danger {
    background: rgba(231, 76, 60, 0.15);
    color: var(--err);
}

.btn-danger:hover {
    background: rgba(231, 76, 60, 0.25);
}

.btn-success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--ok);
}

.btn-success:hover {
    background: rgba(46, 204, 113, 0.25);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* ITEMS */
.announcement-item {
    background: rgba(46, 204, 113, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: 0.2s;
}

.announcement-item:hover {
    background: rgba(46, 204, 113, 0.06);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.05);
}

.announcement-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.announcement-title {
    font-size: 16px;
    font-weight: 600;
}

.announcement-category {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.announcement-category.general {
    background: rgba(46, 204, 113, 0.2);
    color: var(--ok);
}

.announcement-category.important {
    background: rgba(231, 76, 60, 0.2);
    color: var(--err);
}

.announcement-category.update {
    background: rgba(52, 152, 219, 0.2);
    color: var(--info);
}

.announcement-content {
    color: var(--t2);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--t3);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}

.btn-text:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.project-item {
    background: rgba(46, 204, 113, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.project-name {
    font-size: 16px;
    font-weight: 600;
}

.project-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.project-status.in_progress {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warn);
}

.project-status.completed {
    background: rgba(46, 204, 113, 0.2);
    color: var(--ok);
}

.project-status.planned {
    background: rgba(52, 152, 219, 0.2);
    color: var(--info);
}

.project-description {
    color: var(--t2);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--t3);
    flex-wrap: wrap;
}

/* MC HEADS */
.mc-head-small {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    image-rendering: pixelated;
}

/* TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.team-card {
    background: rgba(46, 204, 113, 0.04);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.2s;
}

.team-card:hover {
    background: rgba(46, 204, 113, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.team-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid var(--border);
    background: rgba(46, 204, 113, 0.1);
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.team-mcname {
    font-size: 16px;
    font-weight: 700;
    color: var(--t1);
}

.team-email {
    font-size: 12px;
    color: var(--t3);
}

.team-desc {
    font-size: 12px;
    color: var(--t2);
    margin-top: 4px;
}

.user-item-role {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-item-role.owner { background: rgba(231, 76, 60, 0.25); color: #e74c3c; }
.user-item-role.stvowner { background: rgba(192, 57, 43, 0.25); color: #c0392b; }
.user-item-role.manager { background: rgba(155, 89, 182, 0.25); color: #9b59b6; }
.user-item-role.admin { background: rgba(46, 204, 113, 0.25); color: #2ecc71; }
.user-item-role.developer { background: rgba(52, 152, 219, 0.25); color: #3498db; }
.user-item-role.mod { background: rgba(243, 156, 18, 0.25); color: #f1c40f; }
.user-item-role.supporter { background: rgba(230, 126, 34, 0.25); color: #e67e22; }
.user-item-role.content { background: rgba(199, 82, 163, 0.25); color: #c752a3; }
.user-item-role.bauleitung { background: rgba(39, 174, 96, 0.25); color: #1e8449; }
.user-item-role.builder { background: rgba(30, 132, 73, 0.2); color: #1e8449; }

/* CHAT */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.chat-msg-me {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.chat-bubble {
    background: rgba(46, 204, 113, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    max-width: 70%;
}

.chat-msg-me .chat-bubble {
    background: rgba(46, 204, 113, 0.15);
}

.chat-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-text {
    font-size: 14px;
    color: var(--t1);
    line-height: 1.5;
    word-break: break-word;
}

.chat-time {
    font-size: 10px;
    color: var(--t3);
    margin-top: 4px;
}

.chat-delete {
    cursor: pointer;
    color: var(--err);
    margin-left: 8px;
    font-size: 12px;
    opacity: 0;
    transition: 0.2s;
}

.chat-msg:hover .chat-delete {
    opacity: 1;
}

.chat-delete:hover {
    color: #ff6b6b;
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.chat-form input:focus {
    outline: none;
    border-color: var(--acc);
}

.chat-form input::placeholder {
    color: var(--t3);
}

/* TB ABMELDUNGEN */
.tb-item {
    background: rgba(46, 204, 113, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.tb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}

.tb-name {
    font-weight: 600;
    font-size: 14px;
}

.tb-date {
    font-size: 13px;
    color: var(--t2);
}

.tb-reason {
    font-size: 14px;
    color: var(--t1);
    margin-bottom: 4px;
}

.tb-detail {
    font-size: 13px;
    color: var(--t3);
    line-height: 1.5;
}

/* QUICK ACTIONS */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: rgba(46, 204, 113, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    color: var(--t1);
    font-family: inherit;
}

.quick-action-btn:hover {
    background: rgba(46, 204, 113, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.1);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.quick-action-icon.blue {
    background: rgba(52, 152, 219, 0.2);
}

.quick-action-icon.green {
    background: rgba(46, 204, 113, 0.2);
}

.quick-action-icon.orange {
    background: rgba(243, 156, 18, 0.2);
}

.quick-action-icon.purple {
    background: rgba(155, 89, 182, 0.2);
}

.quick-action-label {
    font-size: 14px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--t3);
}

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

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

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

.modal {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(46, 204, 113, 0.1);
}

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--t2);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(231, 76, 60, 0.15);
    color: var(--err);
}

.modal-body {
    padding: 24px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .menu-toggle {
        display: flex;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(46, 204, 113, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 204, 113, 0.35);
}
