:root {
    --md-teal: #008080;
    --md-teal-dark: #004D4D;
    --md-surface: #FFFFFF;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8F9FA;
}

/* Navbar */
.m3-navbar {
    background-color: #FFF;
    border-bottom: 1px solid #EAEAEA;
    padding: 16px 0;
}

/* Cards */
.m3-card {
    background: #FFF;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.m3-card:hover {
    transform: translateY(-2px);
}

/* Buttons */
.btn-m3 {
    background-color: var(--md-teal);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 12px;
    font-weight: 600;
}
.btn-m3:hover {
    background-color: var(--md-teal-dark);
    color: white;
}
.btn-m3-outline {
    border: 1px solid var(--md-teal);
    color: var(--md-teal);
    background: transparent;
    border-radius: 12px;
    font-weight: 600;
    padding: 6px 16px;
    transition: all 0.2s;
}
.btn-m3-outline:hover {
    background: rgba(0,128,128,0.05);
    color: var(--md-teal);
}
.btn-m3-action {
    background-color: var(--md-teal);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
}
.btn-m3-action:hover {
    background-color: var(--md-teal-dark);
    color: white;
}
.btn-success-m3 {
    background-color: #2E7D32;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
}
.btn-danger-m3 {
    background-color: #C62828;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Forms */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    padding: 10px 14px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--md-teal);
    box-shadow: 0 0 0 4px rgba(0,128,128,0.15);
}

/* Badges */
.badge-m3 {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

/* Finance cards */
.finance-card {
    border-radius: 20px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* Chat bubbles */
.chat-container {
    height: 380px;
    overflow-y: auto;
    background-color: #FAFAFA;
    border-radius: 20px;
    padding: 20px;
}
.bubble {
    padding: 12px 18px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.bubble-tech {
    background-color: var(--md-teal);
    color: white;
    border-radius: 20px 20px 4px 20px;
    float: right;
    clear: both;
    max-width: 75%;
}
.bubble-client {
    background-color: #EFEFEF;
    color: #333;
    border-radius: 20px 20px 20px 4px;
    float: left;
    clear: both;
    max-width: 75%;
}

/* Workflow banner */
.workflow-banner {
    background-color: #FFF4E5;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #FFE0B2;
}

/* Login pills */
.nav-pills .nav-link {
    color: #666;
    border-radius: 16px;
    font-weight: 600;
    padding: 10px 20px;
}
.nav-pills .nav-link.active {
    background-color: rgba(0,128,128,0.1) !important;
    color: var(--md-teal) !important;
}

/* Alerts */
.alert-success { border-left: 4px solid #2E7D32; }
.alert-danger  { border-left: 4px solid #C62828; }
