/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.18), transparent 32%),
        radial-gradient(circle at 82% 12%, rgba(99, 102, 241, 0.15), transparent 34%),
        linear-gradient(135deg, #0d0b1f 0%, #120f2c 40%, #1a133d 100%);
    color: #e5e7eb;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0b1f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #e5e7eb;
}

::-moz-selection {
    background: rgba(139, 92, 246, 0.3);
    color: #e5e7eb;
}

/* Dashboard Layout */
.dashboard-body {
    background:
        radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.22), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(99, 102, 241, 0.18), transparent 32%),
        linear-gradient(135deg, #0d0b1f 0%, #120f2c 40%, #1a133d 100%);
    color: #e5e7eb;
}

body.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.login-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #5b21b6 0%, #312e81 60%, #1f1b3d 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.main-nav a:hover::before {
    left: 100%;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-menu span:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: #e5e7eb;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1, #8b5cf6);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.page-header h1 {
    color: #e5e7eb;
    font-size: 2.5rem;
    letter-spacing: 0.03em;
}

.page-header .page-subtitle,
.page-header .page-description {
    color: #e5e7eb;
}

.page-header-text {
    max-width: 480px;
}

.page-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 0.25rem;
}

.page-description {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-danger::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-danger:hover::before {
    width: 300px;
    height: 300px;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background-color: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-link {
    background: none;
    color: #667eea;
    text-decoration: underline;
    padding: 0;
}

/* Forms */
.form-container {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    margin-bottom: 2rem;
    color: #e5e7eb;
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #e5e7eb;
    font-size: 1.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid #1f2937;
    border-radius: 5px;
    font-size: 1.15rem;
    transition: border-color 0.3s;
    background: #0f1024;
    color: #e5e7eb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    background: #111432;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16), 0 4px 12px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-container h2,
.form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 0.75rem;
    transform: scale(1.3);
    cursor: pointer;
}

.form-group label input[type="checkbox"],
.form-group label input[type="radio"] {
    margin-right: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Entry Row for Journal */
.entry-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #0f1024;
    border: 1px solid #1f2937;
    border-radius: 5px;
}

/* Tables */
.table-container {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    color: #e5e7eb;
    overflow-x: auto;
    animation: fadeInUp 0.6s ease-out;
}

.data-table thead {
    background: linear-gradient(135deg, #1f1b3d 0%, #312e81 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid #1f2937;
    color: #e5e7eb;
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: #667eea;
    color: white;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.total-row {
    font-weight: bold;
    background-color: #1f2937;
    color: #e5e7eb;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #cbd5e1;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-aset {
    background-color: #d4edda;
    color: #155724;
}

.badge-kewajiban {
    background-color: #fff3cd;
    color: #856404;
}

.badge-ekuitas {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-pendapatan {
    background-color: #cce5ff;
    color: #004085;
}

.badge-beban {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-debit {
    background-color: #d4edda;
    color: #155724;
}

.badge-kredit {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-pemasukan {
    background-color: #d4edda;
    color: #155724;
}

.badge-pengeluaran {
    background-color: #f8d7da;
    color: #721c24;
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.alert-error {
    background: linear-gradient(135deg, rgba(248, 215, 218, 0.1) 0%, rgba(245, 198, 203, 0.1) 100%);
    backdrop-filter: blur(10px);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    animation: shake 0.5s, fadeInUp 0.5s ease-out;
    box-shadow: 0 4px 12px rgba(248, 113, 113, 0.2);
}

.alert-error i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.alert-success {
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.1) 0%, rgba(195, 230, 203, 0.1) 100%);
    backdrop-filter: blur(10px);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.3);
    animation: fadeInUp 0.5s ease-out;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
    border-radius: 12px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Search Bar */
.search-bar {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    margin-bottom: 2rem;
    color: #e5e7eb;
    animation: fadeInUp 0.6s ease-out;
}

.search-bar form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid #1f2937;
    border-radius: 5px;
    font-size: 1rem;
    background: #0f1024;
    color: #e5e7eb;
}

.search-bar input:focus {
    outline: none;
    border-color: #7c3aed;
    background: #111432;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.stat-content h3 {
    color: #c084fc;
}

.stat-content p {
    color: #cbd5e1;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.08), transparent 55%);
    pointer-events: none;
}

.stat-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 16px;
    color: #8b5cf6;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.5));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.quick-actions h2 {
    margin-bottom: 1.5rem;
    color: #e5e7eb;
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s;
}

.action-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #4338ca 100%);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #4338ca 0%, #8b5cf6 100%);
}

.action-icon {
    font-size: 1.2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    color: #e5e7eb;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.dashboard-card h2 {
    margin-bottom: 1.5rem;
    color: #e5e7eb;
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(90deg, rgba(15, 16, 36, 0.8) 0%, rgba(17, 20, 50, 0.8) 100%);
    border-left: 4px solid #8b5cf6;
    border-radius: 12px;
    color: #e5e7eb;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.recent-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), transparent);
    transition: width 0.3s ease;
}

.recent-item:hover::before {
    width: 100%;
}

.recent-item strong {
    display: block;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.recent-item:hover {
    background: linear-gradient(90deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    border-left-color: #c084fc;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.action-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Journal Card */
.jurnal-card {
    background: linear-gradient(135deg, rgba(17, 20, 50, 0.95) 0%, rgba(31, 27, 61, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(139, 92, 246, 0.1);
    margin-bottom: 2rem;
    color: #e5e7eb;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.jurnal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.jurnal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.jurnal-header h3 {
    color: #c084fc;
    margin-bottom: 0.5rem;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.25), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.22), transparent 32%),
        linear-gradient(135deg, #0d0b1f 0%, #120f2c 45%, #1a133d 100%);
    color: #e5e7eb;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(18, 14, 36, 0.92);
    backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 0 0 1px rgba(139, 92, 246, 0.2);
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #6d28d9, #4338ca, #8b5cf6);
    /* Animation removed - no shimmer */
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-box h1 {
    color: #667eea;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.2rem;
}

.login-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
    color: #6c757d;
}

.login-info p {
    margin-bottom: 0.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-page-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.3));
    /* No animation - static icon */
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
        background-position: 0% 50%;
    }
    to {
        transform: rotate(360deg);
        background-position: 100% 50%;
    }
}

.login-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    }
}

.login-header h1 {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 55%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.login-form {
    margin-top: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.login-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.login-form .form-group label i {
    color: #667eea;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    color: #667eea;
    z-index: 1;
    pointer-events: none;
}

.login-form .form-group input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #1f2937;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
    background: #0f1024;
    color: #e5e7eb;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #7c3aed;
    background: #111432;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
    transform: translateY(-2px);
    color: #e5e7eb;
}
.login-form .form-group input::placeholder {
    color: #94a3b8;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #e2e8f0;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1;
}

.password-toggle:hover {
    color: #a78bfa;
    transform: scale(1.1);
}

.password-toggle:focus {
    outline: none;
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.login-footer p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-footer i {
    color: #a78bfa;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 60%, #4338ca 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 12px 30px rgba(90, 63, 181, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-block:hover::before {
    left: 100%;
}

.btn-block {
    position: relative;
    overflow: hidden;
}

.btn-block::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-block:hover::after {
    width: 300px;
    height: 300px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.5);
}

.btn-block:active {
    transform: translateY(0);
}

.btn-block i {
    transition: transform 0.3s;
}

.btn-block:hover i {
    transform: translateX(5px);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    color: #cbd5e1;
    animation: fadeIn 1s ease-out;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    border-top-color: #8b5cf6;
    animation: spin 1s ease-in-out infinite;
}

/* Glow Effect */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(139, 92, 246, 0.5),
                    0 0 10px rgba(139, 92, 246, 0.5),
                    0 0 15px rgba(139, 92, 246, 0.5);
    }
    to {
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.8),
                    0 0 20px rgba(139, 92, 246, 0.8),
                    0 0 30px rgba(139, 92, 246, 0.8);
    }
}

/* Badge Animations */
.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .entry-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .login-page-icon {
        width: 80px;
        height: 80px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .shape-1, .shape-2, .shape-3 {
        display: none;
    }
}

