:root {
    --black: #1a1a1a;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #e6e6e6;
    --white: #ffffff;
    --primary: #c20000;
    --primary-light: #4da6ff;
    --secondary: #ff9900;
    --success: #00cc66;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    max-width: 414px;
    margin: 0 auto;
    min-height: 896px;
    border: 1px solid #ddd;
    border-radius: 40px;
    overflow: scroll;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    color: var(--black);
    padding-bottom: 70px;
}


/* Status Bar */
.status-bar {
    padding: 12px 20px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Header */
.app-header {
    padding: 20px;
    background: linear-gradient(105deg, #000000 50%, #ac0707 50%);

    color: white;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    position: relative;
}
.app-header-home {
    padding: 10px;
    background: linear-gradient(105deg, #ac0707 70%, #000000 30%);

    color: white;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    position: relative;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    color: red;
}

/* Search Bar */
.search-bar {
    background: var(--white);
    border-radius: 30px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    margin: 15px;
}

/* Service Chips */
.service-chip {
    background: var(--white);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--light-gray);
    transition: all 0.2s;
    white-space: nowrap;
}

.service-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Appointment Cards */
.appointment-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: transform 0.2s;
    margin-bottom: 15px;
}

.appointment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.appointment-card-img {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.appointment-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.urgent-badge {
    background: #ff3333;
    color: white;
}

/* Service Packages */
.package-card {
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border: 1px solid var(--light-gray);
}

.premium-package {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, #fff8e6, #ffffff);
}



.nav-icon {
    color: var(--medium-gray);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icon i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-icon span {
    font-size: 10px;
}

.nav-icon.active {
    color: var(--primary);
}

/* Floating Button */
.fab {
    width: 56px;
    height: 56px;
    background: #000000;
    border-radius: 50%;
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.2s;
    z-index: 10;
}

.fab:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.fab:active {
    transform: scale(0.95);
}

.profile-holder i {
    font-size: 35px;
    color: white;
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin: 0 15px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}



.divider {
    border-left: 1px solid var(--light-gray);
    height: 40px;
    margin: 0 10px;
}

.car-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.mini-app{
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

/* Prospect Cards */
.prospect-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    margin: 0 15px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    transition: all 0.2s;
}

.prospect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prospect-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 5px;
}

.prospect-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.prospect-vehicle {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 4px;
}

.prospect-need {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-top: 8px;
}

.priority-high {
    background: rgba(255, 51, 51, 0.1);
    color: #ff3333;
}

.priority-medium {
    background: rgba(255, 153, 0, 0.1);
    color: var(--secondary);
}

.contact-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    transition: all 0.2s;
}

.contact-btn:hover {
    background: var(--primary-light);
}

.last-contact {
    font-size: 12px;
    color: var(--medium-gray);
    margin-top: 4px;
}

.dancing-script-400 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.05);
    border-top: 1px solid var(--light-gray);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1000; /* keep it above content */
}


/* Search Bar */
.search-bar {
    background: var(--white);
    border-radius: 30px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--light-gray);
    margin: 15px;
}

/* Kenyan flag colors for special tags */
.kenyan-tag {
    background: linear-gradient(135deg, 
        rgba(0, 102, 0, 0.1) 0%, 
        rgba(0, 102, 0, 0.1) 33%, 
        rgba(255, 204, 0, 0.1) 33%, 
        rgba(255, 204, 0, 0.1) 66%, 
        rgba(204, 0, 0, 0.1) 66%);
    color: var(--black);
    border: 1px solid rgba(0,0,0,0.1);
}
.transaction-card {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-left: 4px solid var(--success);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.transaction-card.cash {
    border-left-color: var(--secondary);
}

.transaction-card.mpesa {
    border-left-color: #00cc66;
}

.transaction-card.bank {
    border-left-color: var(--primary);
}

.mpesa-badge {
    background: rgba(0, 204, 102, 0.1);
    color: #00a651;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.cash-badge {
    background: rgba(255, 153, 0, 0.1);
    color: #e67300;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.bank-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}



.nav-icon {
    color: var(--medium-gray);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icon i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-icon span {
    font-size: 10px;
}

.nav-icon.active {
    color: var(--primary);
}

/* Progress Bar */
.progress-kenya {
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 102, 0, 0.1);
}

.progress-kenya .progress-bar {
    background: linear-gradient(90deg, #006600, #ffcc00, #cc0000);
}

.profile-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-light);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-role {
    color: var(--medium-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin: 0 15px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--medium-gray);
}

.stat-value {
    font-weight: 600;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(0, 102, 204, 0.05);
}

.menu-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 15px;
}

.menu-text {
    flex-grow: 1;
}

.menu-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.menu-subtitle {
    color: var(--medium-gray);
    font-size: 12px;
}


.nav-icon {
    color: var(--medium-gray);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icon i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-icon span {
    font-size: 10px;
}

.nav-icon.active {
    color: var(--primary);
}

.btn-edit {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

.btn-edit:hover {
    background: rgba(0, 102, 204, 0.1);
}
.header-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

.form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    background-color: var(--white);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--primary-light);
}


.nav-icon {
    color: var(--medium-gray);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icon i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-icon span {
    font-size: 10px;
}

.nav-icon.active {
    color: var(--primary);
}

.service-checkbox {
    display: none;
}

.service-label {
    display: inline-block;
    background: var(--white);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--light-gray);
    margin-right: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.service-checkbox:checked + .service-label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.prf-main{
    position: relative;
}
.username-holder{
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 40px;
}
.main-logo{
    width: 120px;
    height:auto;
    transform:rotate(-90deg);
    margin-left:20px;
    margin-top:-40px;
}
.bottom-nav {
    border-top: 1px solid #e0e0e0;
  }
  
  .bottom-nav .nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    padding: 6px 0;
    transition: color 0.2s;
  }
  
  .bottom-nav .nav-icon i {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }
  
  .bottom-nav .nav-link.router-link-active .nav-icon {
    color: #000000; /* primary brand color */
    font-weight: 600;
  }
  
  .main-cta-buttons a{
    background-color: #000 !important;
    color: #fff;
    font-size: 12px !important;
    letter-spacing: 1px;
    font-weight: 100;
  }