@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #ecfeff 100%);
    min-height: 100vh;
    color: #1e293b;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08); }

.btn-primary {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.btn-secondary:hover { background: #e2e8f0; }

/* Journey Steps */
.journey-container { position: relative; padding: 20px 0; }

.journey-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    z-index: 1;
}

.journey-line-progress {
    position: absolute;
    top: 40px;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #14b8a6);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.5s ease;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.step-done { background: #10b981; color: white; box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.step-current { background: #f59e0b; color: white; box-shadow: 0 4px 12px rgba(245,158,11,0.3); animation: pulse 2s infinite; }
.step-waiting { background: #e2e8f0; color: #94a3b8; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-label {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.step-done .step-label { color: #10b981; }
.step-current .step-label { color: #f59e0b; }
.step-waiting .step-label { color: #94a3b8; }

/* Chat */
.chat-box { height: 300px; overflow-y: auto; padding: 16px; background: #f8fafc; border-radius: 16px; margin-bottom: 12px; }

.chat-msg { margin-bottom: 12px; max-width: 80%; }
.chat-msg.sent { margin-left: auto; }
.chat-msg.received { margin-right: auto; }

.chat-bubble {
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.sent .chat-bubble {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.received .chat-bubble {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chat-time { font-size: 11px; margin-top: 4px; opacity: 0.7; }

/* Upload Zone */
.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8fafc;
}

.upload-zone:hover {
    border-color: #10b981;
    background: #ecfdf5;
}

/* Notifikasi */
.notif-item {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: start;
    border: 1px solid transparent;
}

.notif-upload { background: #fffbeb; border-color: #fde68a; }
.notif-chat { background: #eff6ff; border-color: #bfdbfe; }
.notif-approve { background: #ecfdf5; border-color: #a7f3d0; }

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 420px;
    border: 1px solid #f1f5f9;
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.input-field:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-aktif { background: #d1fae5; color: #065f46; }
.badge-menunggu { background: #fef3c7; color: #92400e; }
.badge-selesai { background: #ede9fe; color: #5b21b6; }

/* Grid Layout */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width: 1024px) { .grid-2 { grid-template-columns: 2fr 1fr; } }

.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 16px; }
@media(min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover, .nav-link.active { background: #f1f5f9; color: #10b981; }

.dokumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #f1f5f9;
}

.status-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-left: 6px;
}

.btn-terima { background: #d1fae5; color: #065f46; }
.btn-revisi { background: #fee2e2; color: #991b1b; }