:root {
    --purple-dark: #2D1B69;
    --purple-main: #6C3FC5;
    --purple-mid: #8B5CF6;
    --purple-light: #F3EEFF;
    --purple-accent: #7C3AED;
    --white: #FFFFFF;
    --text-dark: #1E1B2E;
    --text-muted: #6B7280;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: #fff;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.text-purple {
    color: var(--purple-main);
}

.bg-purple {
    background: var(--purple-main);
}

/* ── BUTTONS ── */
.btn-purple {
    background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-purple:hover {
        background: linear-gradient(135deg, var(--purple-accent), var(--purple-main));
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(108,63,197,0.4);
    }

.btn-outline-purple {
    border: 2px solid var(--purple-main);
    color: var(--purple-main);
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

    .btn-outline-purple:hover {
        background: var(--purple-main);
        color: #fff;
    }

/* ── CARDS ── */
.card-purple {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(108,63,197,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card-purple:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(108,63,197,0.18);
    }

/* ── SECTION HEADINGS ── */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--purple-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-main), var(--purple-mid));
    border-radius: 4px;
    margin: 12px auto 20px;
}

/* ── BADGES ── */
.badge-purple {
    background: var(--purple-light);
    color: var(--purple-main);
    font-weight: 600;
    border-radius: 8px;
    padding: 5px 12px;
}

.badge-success-soft {
    background: #D1FAE5;
    color: #065F46;
    font-weight: 600;
    border-radius: 8px;
    padding: 5px 12px;
}

.badge-warning-soft {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 600;
    border-radius: 8px;
    padding: 5px 12px;
}

.badge-danger-soft {
    background: #FEE2E2;
    color: #991B1B;
    font-weight: 600;
    border-radius: 8px;
    padding: 5px 12px;
}

/* ── FORMS ── */
.form-control:focus, .form-select:focus {
    border-color: var(--purple-main);
    box-shadow: 0 0 0 3px rgba(108,63,197,0.15);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
}

/* ── ADMIN PANEL ── */
.admin-card {
    border: none;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(108,63,197,0.08);
}

.stat-card {
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .stat-card .stat-icon {
        font-size: 3rem;
        opacity: 0.2;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .stat-card .stat-number {
        font-size: 2.2rem;
        font-weight: 800;
    }

    .stat-card .stat-label {
        font-size: 0.9rem;
        opacity: 0.85;
        font-weight: 500;
    }

/* ── TABLE ── */
.table-purple thead {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-main));
    color: #fff;
}

    .table-purple thead th {
        font-weight: 600;
        border: none;
        padding: 14px 16px;
    }

.table-purple tbody tr:hover {
    background: var(--purple-light);
}

.table-purple tbody td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* ── ALERTS ── */
.alert-success {
    background: #D1FAE5;
    border: none;
    color: #065F46;
    border-radius: 12px;
}

.alert-danger {
    background: #FEE2E2;
    border: none;
    color: #991B1B;
    border-radius: 12px;
}

.alert-warning {
    background: #FEF3C7;
    border: none;
    color: #92400E;
    border-radius: 12px;
}

/* ── HERO ── */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2D1B69 0%, #6C3FC5 60%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        top: -200px;
        right: -200px;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.03);
        border-radius: 50%;
        bottom: -150px;
        left: -150px;
    }

/* ── PRODUCT CARD ── */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(108,63,197,0.12);
    transition: all 0.3s;
    background: #fff;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 48px rgba(108,63,197,0.22);
    }

    .product-card .product-header {
        background: linear-gradient(135deg, var(--purple-dark), var(--purple-main));
        padding: 30px;
        color: #fff;
        text-align: center;
    }

/* ── TEAM CARD ── */
.team-card {
    border: none;
    border-radius: 16px;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(108,63,197,0.08);
    transition: all 0.3s;
}

    .team-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(108,63,197,0.16);
    }

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

/* ── CLOCK IN/OUT ── */
.clock-card {
    border-radius: 20px;
    padding: 40px;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-main));
    color: #fff;
    text-align: center;
}

.clock-time {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .stat-card .stat-number {
        font-size: 1.6rem;
    }

    .clock-time {
        font-size: 2rem;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
}
