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

body {
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.6);
    font-family: Arial, sans-serif;
    color: rgba(200, 220, 240, 0.95);
    overflow: hidden;
}

.dashboard-container {
    height: 100vh;
    width: 100vw;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header Section */
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 20, 30, 0.9);
    border: 1px solid rgba(100, 150, 200, 0.4);
    border-radius: 4px;
    box-shadow:
        0 0 20px rgba(100, 150, 200, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.8);
}

.org-logo {
    width: 60px;
    height: 60px;
    background: rgba(20, 30, 45, 0.8);
    border: 2px solid rgba(100, 150, 200, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(100, 150, 200, 0.9);
}

.org-info {
    flex: 1;
}

.org-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(200, 220, 255, 1);
    margin-bottom: 0.25rem;
}

.org-tag {
    font-size: 0.875rem;
    color: rgba(140, 160, 180, 0.8);
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.625rem 1.25rem;
    background: rgba(20, 30, 45, 0.7);
    border: 1px solid rgba(100, 150, 200, 0.4);
    border-radius: 4px;
    color: rgba(200, 220, 240, 0.95);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.action-btn:hover {
    background: rgba(30, 45, 70, 0.9);
    border-color: rgba(150, 200, 255, 0.7);
    box-shadow:
        0 0 15px rgba(100, 150, 200, 0.2),
        inset 0 0 20px rgba(100, 150, 200, 0.05);
}

.close-btn {
    border-color: rgba(200, 100, 100, 0.4);
}

.close-btn:hover {
    border-color: rgba(255, 100, 100, 0.7);
    box-shadow:
        0 0 15px rgba(200, 100, 100, 0.2),
        inset 0 0 20px rgba(200, 100, 100, 0.05);
}

/* Dashboard Grid */
.dashboard-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar */
.dashboard-grid::-webkit-scrollbar {
    width: 8px;
}

.dashboard-grid::-webkit-scrollbar-track {
    background: rgba(15, 20, 30, 0.5);
    border-radius: 4px;
}

.dashboard-grid::-webkit-scrollbar-thumb {
    background: rgba(100, 150, 200, 0.3);
    border-radius: 4px;
}

.dashboard-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 150, 200, 0.5);
}

/* Dashboard Cards */
.dashboard-card {
    background: rgba(15, 20, 30, 0.9);
    border: 1px solid rgba(100, 150, 200, 0.4);
    border-left: 3px solid rgba(100, 150, 200, 0.5);
    border-radius: 4px;
    padding: 1.25rem;
    box-shadow:
        0 0 20px rgba(100, 150, 200, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.dashboard-card:hover {
    border-left-color: rgba(150, 200, 255, 0.8);
    box-shadow:
        0 0 25px rgba(100, 150, 200, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.7);
}

.card-wide {
    grid-column: span 2;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(100, 150, 200, 0.2);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(200, 220, 255, 1);
}

.card-status {
    padding: 0.25rem 0.75rem;
    background: rgba(100, 200, 150, 0.2);
    border: 1px solid rgba(100, 200, 150, 0.4);
    border-radius: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(150, 255, 200, 0.9);
}

.card-badge {
    padding: 0.25rem 0.625rem;
    background: rgba(100, 150, 200, 0.2);
    border: 1px solid rgba(100, 150, 200, 0.4);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(150, 200, 255, 0.9);
}

.card-content {
    color: rgba(180, 200, 220, 0.9);
}

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.25rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(20, 30, 45, 0.6);
    border: 1px solid rgba(100, 150, 200, 0.3);
    border-radius: 4px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(140, 160, 180, 0.85);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(200, 220, 255, 1);
}

/* Member List */
.member-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(20, 30, 45, 0.5);
    border: 1px solid rgba(100, 150, 200, 0.2);
    border-radius: 4px;
    transition: all 0.15s ease;
}

.member-item:hover {
    background: rgba(30, 45, 70, 0.7);
    border-color: rgba(100, 150, 200, 0.4);
}

.member-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(100, 100, 100, 0.5);
}

.member-status.online {
    background: rgba(100, 200, 150, 0.9);
    box-shadow: 0 0 8px rgba(100, 200, 150, 0.5);
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.member-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(200, 220, 240, 0.95);
}

.member-rank {
    font-size: 0.75rem;
    color: rgba(140, 160, 180, 0.8);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    padding: 0.75rem;
    background: rgba(20, 30, 45, 0.5);
    border-left: 2px solid rgba(100, 150, 200, 0.4);
    border-radius: 2px;
}

.activity-time {
    font-size: 0.7rem;
    color: rgba(100, 150, 200, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.375rem;
}

.activity-text {
    font-size: 0.875rem;
    color: rgba(180, 200, 220, 0.9);
    line-height: 1.4;
}

/* Asset List */
.asset-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.asset-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(20, 30, 45, 0.5);
    border: 1px solid rgba(100, 150, 200, 0.2);
    border-radius: 4px;
    transition: all 0.15s ease;
}

.asset-item:hover {
    background: rgba(30, 45, 70, 0.7);
    border-color: rgba(100, 150, 200, 0.4);
}

.asset-icon {
    font-size: 1.5rem;
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asset-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(200, 220, 240, 0.95);
}

.asset-location {
    font-size: 0.75rem;
    color: rgba(140, 160, 180, 0.8);
}

/* Mission List */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-item {
    padding: 1rem;
    background: rgba(20, 30, 45, 0.6);
    border: 1px solid rgba(100, 150, 200, 0.3);
    border-left: 3px solid rgba(100, 150, 200, 0.5);
    border-radius: 4px;
}

.mission-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.mission-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(200, 220, 255, 1);
}

.mission-priority {
    padding: 0.25rem 0.625rem;
    border-radius: 3px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.mission-priority.high {
    background: rgba(200, 100, 100, 0.2);
    border: 1px solid rgba(200, 100, 100, 0.4);
    color: rgba(255, 150, 150, 0.9);
}

.mission-priority.medium {
    background: rgba(200, 150, 100, 0.2);
    border: 1px solid rgba(200, 150, 100, 0.4);
    color: rgba(255, 200, 150, 0.9);
}

.mission-priority.low {
    background: rgba(100, 150, 200, 0.2);
    border: 1px solid rgba(100, 150, 200, 0.4);
    color: rgba(150, 200, 255, 0.9);
}

.mission-description {
    font-size: 0.85rem;
    color: rgba(160, 180, 200, 0.85);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.mission-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(20, 30, 45, 0.8);
    border: 1px solid rgba(100, 150, 200, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            rgba(100, 150, 200, 0.6),
            rgba(150, 200, 255, 0.8));
    box-shadow: 0 0 10px rgba(100, 150, 200, 0.5);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(100, 150, 200, 0.9);
    min-width: 40px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
