* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #f8fafc;
    min-height: 100vh;
}

/* HEADER */
header {
    height: 64px;
    background: white;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.user-email {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* MAIN CONTENT */
main {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* GRID SYSTEM */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .icon-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* CARD STYLES */
.icon-card {
    background: white;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #3b82f6;
}

.icon-card:active {
    transform: translateY(-2px);
}

.icon {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1;
}

.label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

/* ISSUE HEADER */
.issue-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.issue-header button {
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.issue-header button:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.issue-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* UTILITY CLASSES */
.hidden {
    display: none !important;
}

/* LOADING STATES */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    font-size: 18px;
    color: #64748b;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* EMPTY STATE */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}
/* TAMBAHAN SETELAH AUTO LOGIN */
/* Auto Login Modal Styles */
#autoLoginModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    text-align: center;
    padding: 30px;
}

.login-logo {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 48px;
    color: #3b82f6;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.login-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.5;
}

/* Content visibility */
.content-hidden {
    display: none !important;
}