:root {
    --primary-purple: #8b5cf6;
    --sidebar-width: 250px;
    --header-height: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, sans-serif; }

body { background: #f3f4f6; display: flex; min-height: 100vh; }

/* SIDEBAR */
.sidebar {
    width: var(--sidebar-width);
    background: var(--primary-purple);
    height: 100vh;
    position: fixed;
    color: white;
    z-index: 100;
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links { list-style: none; padding: 20px 0; }
.nav-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links li.active a, .nav-links li a:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

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

/* HEADER */
.main-header {
    height: var(--header-height);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* CONTENT AREA */
.content-body { padding: 30px; flex: 1; }

.attendance-card {
    background: white;
    max-width: 650px;
    margin: 20px auto;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 20px 0;
}

.btn-checkin {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 12px 45px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* FOOTER COPYRIGHT */
.footer {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    font-size: 12px;
}