/* Main Dashboard Styles - Extracted from index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
}

/* HEADER */
.header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    background: #0066B2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.brand-text h1 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.brand-text p {
    font-size: 11px;
    color: #666;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
}

.user-menu:hover {
    background: #f5f5f5;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: #0066B2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* MAIN */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
}

/* NEWS BANNER */
.news-banner {
    background: white;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.news-title {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.news-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    padding: 12px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-card p {
    font-size: 11px;
    opacity: 0.95;
    line-height: 1.3;
}

/* SECTIONS GRID */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.section-block {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px;
}

.section-header {
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tile {
    aspect-ratio: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 12px 8px;
    text-decoration: none;
    position: relative;
}

.pin-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
    opacity: 0;
}

.tile:hover .pin-btn,
.pin-btn.active {
    opacity: 1;
}

.pin-btn:hover {
    transform: scale(1.2);
    color: #FFD700;
}

.pin-btn.active {
    color: #FFD700;
}

.tile:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tile-icon {
    font-size: 28px;
}

.tile-title {
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.2;
}

/* QUICK LINKS SECTION */
.quicklinks-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 16px;
    margin-top: 20px;
}

.quicklinks-header {
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    text-align: center;
}

.quicklink-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.quicklink-row:last-child {
    margin-bottom: 0;
}

.quicklink-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: white;
    border-radius: 6px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quicklink-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.quicklink-icon {
    font-size: 16px;
}

.row-label {
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* COLORS - Flat like VNPT Gateway */
.color-pink {
    background: #FF9999;
}

.color-coral {
    background: #FFB08A;
}

.color-yellow {
    background: #FFC627;
}

.color-gold {
    background: #FFD700;
}

.color-teal {
    background: #00CEC9;
}

.color-cyan {
    background: #4ECDC4;
}

.color-blue {
    background: #4169E1;
}

.color-lightblue {
    background: #5B8DEF;
}

.color-purple {
    background: #9B59B6;
}

.color-lavender {
    background: #B589D6;
}

.color-green {
    background: #52B788;
}

.color-mint {
    background: #74C69D;
}

.color-orange {
    background: #FF8C61;
}

.color-peach {
    background: #FFB088;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sections-grid {
        grid-template-columns: 1fr;
    }

    .tile {
        aspect-ratio: 1.5;
    }

    .tile-icon {
        font-size: 24px;
    }

    .tile-title {
        font-size: 10px;
    }

    .quicklink-item {
        font-size: 11px;
        padding: 8px 12px;
    }
}

/* FOOTER */
.footer {
    background: rgba(255, 255, 255, 0.95);
    margin-top: 24px;
    padding: 16px;
    text-align: center;
    font-size: 11px;
    color: #666;
}