/* CIMP-BIIF Portal Modern Styling */
:root {
    --primary: #1e3c72;
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --accent-warning: #ffb703;
    --text-dark: #1e293b;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
}

.bg-primary-gradient {
    background: var(--primary-gradient) !important;
}

.text-primary-gradient {
    background: linear-gradient(135deg, #1e3c72, #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.avatar-circle-lg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.fs-xs {
    font-size: 0.75rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.hover-shadow {
    transition: all 0.25s ease-in-out;
}
.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* Application Pipeline */
.pipeline-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
}

.pipeline-step.completed .step-icon {
    background: #1e3c72;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.15);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.pipeline-step.completed .step-label {
    color: #1e3c72;
}

.pipeline-line {
    flex-grow: 1;
    height: 4px;
    background: #e2e8f0;
    margin: 0 -5px 22px -5px;
}

.pipeline-line.completed {
    background: #1e3c72;
}

/* Chat Styles */
.chat-app-card {
    height: calc(100vh - 160px);
    min-height: 520px;
}

.chat-sidebar {
    overflow-y: auto;
}

.chat-messages-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 75%;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.chat-bubble-sent {
    align-self: flex-end;
    background: #1e3c72;
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-bubble-received {
    align-self: flex-start;
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
}

.active-contact {
    background: #f1f5f9 !important;
    border-left: 3px solid #1e3c72 !important;
}
