/*
Theme Name: Magik Career Theme
Theme URI: https://career.magikmediaglobal.com/
Description: Custom lightweight theme for Magik Media Global Career Portal.
Author: Magik Media Global
Version: 0.1.0
*/

:root {
    --brand-primary: #0B3D91;
    --brand-secondary: #1E88E5;
    --brand-dark: #0A1A2F;
    --brand-light: #F5F7FA;
    --text-primary: #1A1A1A;
    --text-secondary: #5A5A5A;
    --border: #E0E4E8;
    --background: #FFFFFF;
    --radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--brand-light);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: var(--brand-secondary);
    text-decoration: none;
}

.mcp-btn {
    display: inline-block;
    background: var(--brand-primary);
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease;
}

.mcp-btn:hover {
    background: var(--brand-secondary);
    color: #fff;
}

.mcp-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.mcp-site-header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mcp-site-footer {
    background: var(--brand-dark);
    color: #fff;
    padding: 24px 32px;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}








/* ============ DASHBOARD LAYOUT ============ */
.mcp-dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 130px);
}

.mcp-sidebar {
    width: 260px;
    background: var(--brand-dark);
    color: #fff;
    padding: 24px 0;
    flex-shrink: 0;
}

.mcp-sidebar-logo {
    padding: 0 24px 24px 24px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 12px;
}

.mcp-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.75);
    font-size: 14.5px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.mcp-sidebar-nav a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.mcp-sidebar-nav a.active {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-left: 3px solid var(--brand-secondary);
    font-weight: 600;
}

.mcp-sidebar-nav .mcp-logout {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mcp-dashboard-main {
    flex: 1;
    padding: 32px 40px;
}

.mcp-dashboard-header {
    margin-bottom: 28px;
}

.mcp-dashboard-header h1 {
    margin: 0 0 4px 0;
    font-size: 24px;
}

.mcp-dashboard-header p {
    margin: 0;
    color: var(--text-secondary);
}

.mcp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.mcp-stat-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.mcp-stat-card .mcp-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mcp-stat-card .mcp-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-primary);
}

.mcp-stat-card .mcp-progress-bar {
    background: var(--border);
    border-radius: 20px;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.mcp-stat-card .mcp-progress-fill {
    background: var(--brand-secondary);
    height: 100%;
    border-radius: 20px;
}

.mcp-section-title {
    font-size: 17px;
    font-weight: 700;
    margin: 32px 0 14px 0;
}

.mcp-app-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--background);
}

.mcp-app-item h4 {
    margin: 0 0 4px 0;
    font-size: 15.5px;
}

.mcp-app-item .mcp-stage-badge {
    display: inline-block;
    background: #E8F0FE;
    color: var(--brand-primary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.mcp-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mcp-dashboard-wrapper {
        flex-direction: column;
    }
    .mcp-sidebar {
        width: 100%;
        padding: 12px 0;
    }
    .mcp-sidebar-nav {
        display: flex;
        overflow-x: auto;
    }
    .mcp-sidebar-nav a {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    .mcp-sidebar-nav a.active {
        border-left: none;
        border-bottom: 3px solid var(--brand-secondary);
    }
    .mcp-sidebar-logo {
        display: none;
    }
    .mcp-dashboard-main {
        padding: 20px;
    }
}