/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 12px;
    display: none;
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

/* Add a pseudo-element to bridge the gap */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
    z-index: 999;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-link {
    display: block;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    min-height: 44px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Status indicator styling */
.realtime-status {
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-left: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.status-connecting {
    color: #f39c12;
}

.status-connected {
    color: #27ae60;
}

.status-disconnected {
    color: #e74c3c;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    min-height: 44px;
    min-width: 44px;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 0 1rem;
    border-radius: 0 0 12px 12px;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav .nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(10px);
}

.mobile-nav .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(0,0,0,0.05);
    margin: 0;
    border-radius: 0;
    border: none;
}

.mobile-nav .nav-dropdown.active .dropdown-menu {
    display: block;
}

.mobile-nav .dropdown-link {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    color: #555;
}

.mobile-nav .dropdown-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Cards and layout */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-success {
    background-color: #27ae60;
}

.btn-success:hover {
    background-color: #229954;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.table tr:hover {
    background-color: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: #27ae60;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #3498db;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #f39c12;
    color: #856404;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-sent {
    background-color: #d4edda;
    color: #155724;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background-color: #f0f0f0;
    color: #6c757d;
    text-decoration: line-through;
}

.status-unknown {
    background-color: #e2e3e5;
    color: #495057;
}

.status-online {
    background-color: #d4edda;
    color: #155724;
}

.status-offline {
    background-color: #f8d7da;
    color: #721c24;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

.footer p {
    margin: 0.25rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-user {
        gap: 0.5rem;
    }
    
    .username {
        display: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table {
        font-size: 0.9rem;
        min-width: 600px;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Stack buttons vertically on mobile */
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .nav-brand a {
        font-size: 1.25rem;
    }
    
    .login-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Smaller text on very small screens */
    body {
        font-size: 14px;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    /* Hide less important columns on small screens */
    .table .hide-mobile {
        display: none;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .main-content {
        padding: 0.5rem 0;
    }
    
    .card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Mobile-specific utilities */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .show-mobile-flex {
        display: flex !important;
    }
    
    .text-center-mobile {
        text-align: center;
    }
    
    .w-100-mobile {
        width: 100%;
    }
    
    .mb-2-mobile {
        margin-bottom: 1rem;
    }
    
    .p-1-mobile {
        padding: 0.5rem;
    }
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Improved form layouts for mobile */
.form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Better button groups */
.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Status indicators for mobile */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background-color: #27ae60;
}

.status-dot.offline {
    background-color: #e74c3c;
}

.status-dot.pending {
    background-color: #f39c12;
}

/* Enhanced Dashboard Styles */
.dashboard-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-content {
    flex: 1;
    z-index: 1;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.welcome-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.welcome-stats {
    display: flex;
    gap: 2rem;
    z-index: 1;
}

.welcome-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.welcome-stats .stat-item:hover {
    transform: translateY(-2px);
}

.welcome-stats .stat-icon {
    font-size: 2rem;
}

.welcome-stats .stat-info {
    display: flex;
    flex-direction: column;
}

.welcome-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.welcome-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.action-card.primary::before {
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.action-card.secondary::before {
    background: linear-gradient(90deg, #27ae60 0%, #229954 100%);
}

.action-card.accent::before {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.action-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card .card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.action-card .card-content p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.feature-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-header .card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.card-body {
    padding: 1rem 1.5rem;
}

.card-body p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.5;
}

.card-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-stats .stat-item {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.card-footer {
    padding: 1rem 1.5rem 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

.admin-card .card-header .card-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.admin-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.activity-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #f8f9fa;
}

.activity-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.view-all-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #2980b9;
}

.activity-content {
    padding: 1.5rem;
}

.activity-placeholder {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
}

.activity-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: #f8f9fa;
}

.activity-item .activity-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 8px;
}

.activity-details {
    flex: 1;
}

.activity-text {
    margin: 0 0 0.25rem 0;
    font-weight: 500;
    color: #2c3e50;
}

.activity-time {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.notification-badge {
    background: #e74c3c;
    color: white;
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .welcome-stats .stat-item {
        justify-content: center;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .action-card {
        text-align: center;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .activity-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome {
        padding: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .action-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
/* Modern Inbox Styles */
.conversation-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.conversation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.conversation-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f3f4;
    background: linear-gradient(90deg, #ffffff 0%, #f8f9fa 100%);
}

.conversation-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.conversation-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.contact-number {
    font-size: 14px;
    color: #6c757d;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.conversation-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.conversation-time {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.message-count-badge {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.conversation-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.action-menu-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.action-menu-btn:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    min-width: 180px;
    overflow: hidden;
}

.action-menu button,
.action-menu a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.action-menu button:hover,
.action-menu a:hover {
    background-color: #f8f9fa;
}

.conversation-preview {
    padding: 0 24px 20px;
}

.preview-message {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.preview-message.incoming {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.preview-message.outgoing {
    border-left-color: #007bff;
    background: linear-gradient(135deg, #cce7ff 0%, #b3d9ff 100%);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.direction-icon {
    font-size: 16px;
}

.sent-by-info {
    font-weight: 600;
    color: #495057;
}

.preview-time {
    color: #6c757d;
    margin-left: auto;
    font-weight: 500;
}

.preview-content {
    color: #495057;
    line-height: 1.5;
    font-size: 15px;
}

.more-messages-indicator {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
}

.conversation-quick-actions {
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.btn-outline {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.btn-small {
    padding: 8px 12px;
    font-size: 13px;
}

/* Full Conversation View */
.full-conversation-view {
    background: white;
    border-radius: 16px;
    margin: 16px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.conversation-header-full {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-header-full h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.close-conversation {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.close-conversation:hover {
    background: rgba(255, 255, 255, 0.3);
}

.messages-timeline {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}


.bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6c757d;
}

.message-type {
    font-weight: 600;
}

.bubble-time {
    font-size: 11px;
}

.bubble-content {
    color: #495057;
    line-height: 1.5;
    font-size: 15px;
}

.bubble-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.bubble-action {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.bubble-action:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .conversation-item {
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .conversation-header {
        padding: 16px 20px 12px;
    }
    
    .contact-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-details h3 {
        font-size: 16px;
    }
    
    .conversation-preview {
        padding: 0 20px 16px;
    }
    
    .preview-message {
        padding: 12px;
    }
    
    .conversation-quick-actions {
        padding: 12px 20px;
        gap: 8px;
    }
    
    .btn-small {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .message-bubble-full {
        max-width: 85%;
        padding: 12px;
    }
    
    .messages-timeline {
        padding: 16px;
    }
}
.view-all-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}
/* Compact Messenger-Style Inbox */
.conversations-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.conversation-item {
    background: white;
    border: none;
    border-bottom: 1px solid #e4e6ea;
    margin-bottom: 0;
    padding: 12px 16px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.conversation-item:hover {
    background-color: #f2f3f5;
}

.conversation-item:last-child {
    border-bottom: none;
}

.conversation-header {
    padding: 0;
    border-bottom: none;
    background: none;
}

.conversation-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.conversation-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1c1e21;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-number {
    font-size: 13px;
    color: #65676b;
    margin: 0;
}

.latest-message-preview {
    margin-top: 2px;
    font-size: 13px;
    color: #65676b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-message-preview .message-sender {
    font-weight: 500;
    color: #1c1e21;
}

.conversation-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.conversation-time {
    font-size: 12px;
    color: #65676b;
    font-weight: 400;
}

.message-count-badge {
    background: #1877f2;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.conversation-actions {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.conversation-item:hover .conversation-actions {
    opacity: 1;
}

.action-menu-btn {
    background: none;
    border: none;
    color: #65676b;
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-menu-btn:hover {
    background-color: #f2f3f5;
    color: #1c1e21;
}

.action-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dadde1;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 160px;
    overflow: hidden;
}

.action-menu button,
.action-menu a {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: none;
    text-align: left;
    color: #1c1e21;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.action-menu button:hover,
.action-menu a:hover {
    background-color: #f2f3f5;
}

/* Conversation Preview (Hidden by default) */
.conversation-preview {
    display: none;
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e4e6ea;
}

.preview-message {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.preview-message.incoming {
    border-left-color: #42b883;
}

.preview-message.outgoing {
    border-left-color: #1877f2;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 12px;
}

.direction-icon {
    font-size: 12px;
}

.sent-by-info {
    font-weight: 600;
    color: #1c1e21;
}

.preview-time {
    color: #65676b;
    margin-left: auto;
    font-size: 11px;
}

.preview-content {
    color: #1c1e21;
    line-height: 1.3;
}

.view-all-btn {
    background: #1877f2;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    margin-top: 8px;
}

.view-all-btn:hover {
    background: #166fe5;
}

/* Full Conversation View */
.full-conversation-view {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.full-conversation-view.show {
    display: flex !important;
}

.conversation-modal-content {
    background: white !important;
    border-radius: 12px !important;
    width: 90% !important;
    max-width: 600px !important;
    max-height: 80vh !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.conversation-header-full {
    background: #1877f2 !important;
    color: white !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.conversation-header-full h4 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.close-conversation {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    font-size: 16px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.close-conversation:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.messages-timeline {
    padding: 16px !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
    background: white !important;
}

/* Modal Reply Box - Facebook Style */
.modal-reply-box {
    border-top: 1px solid #e4e6ea !important;
    padding: 12px 16px !important;
    background: white !important;
}

.reply-form {
    margin: 0 !important;
}

.reply-input-container {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f0f2f5 !important;
    border-radius: 20px !important;
    padding: 4px !important;
}

.reply-textarea {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    resize: none !important;
    outline: none !important;
    min-height: 36px !important;
    max-height: 100px !important;
    line-height: 1.4 !important;
    border-radius: 20px !important;
}

.reply-textarea::placeholder {
    color: #65676b !important;
}

.reply-send-btn {
    background: #1877f2 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.reply-send-btn:hover {
    background: #166fe5 !important;
}

.reply-send-btn span {
    color: white !important;
    font-size: 12px !important;
    margin-left: 2px !important;
}

/* Quick Reply Box for Each Conversation */
.quick-reply-box {
    border-top: 1px solid #e4e6ea;
    padding: 8px 12px;
    background: #f8f9fa;
    margin-top: 8px;
}

.quick-reply-form {
    margin: 0;
}

.quick-reply-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quick-reply-input {
    flex: 1;
    border: 1px solid #ccd0d5;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
    background: white;
}

.quick-reply-input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.quick-reply-btn {
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-reply-btn:hover {
    background: #166fe5;
}

/* Facebook-style Reply Box */
.facebook-reply-box {
    background: white;
    border-top: 1px solid #e4e6ea;
    padding: 8px 12px;
    border-radius: 0 0 8px 8px;
}

.facebook-reply-form {
    margin: 0;
}

.facebook-reply-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 4px;
}

.facebook-reply-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    border-radius: 20px;
}

.facebook-reply-input::placeholder {
    color: #65676b;
}

.facebook-reply-send {
    background: #1877f2;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.facebook-reply-send:hover {
    background: #166fe5;
}

.facebook-reply-send span {
    color: white;
    font-size: 12px;
    margin-left: 2px;
}

/* Message Status Indicators */
.message-status {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 10px;
    opacity: 0.7;
}

.timeline-message.incoming .message-status {
    color: #5f6368;
}

.timeline-message.outgoing .message-status {
    color: rgba(255, 255, 255, 0.8);
}

.status-icon {
    font-size: 10px;
}

.status-text {
    font-size: 9px;
    font-weight: 500;
}

/* Status animations */
.message-status .status-icon {
    transition: all 0.3s ease;
}

.message-status[data-status="sending"] .status-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}


/* Modern Messenger Style - Force Override */
.timeline-message {
    margin-bottom: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    clear: both !important;
}

.timeline-message.incoming {
    align-items: flex-start !important;
}

.timeline-message.outgoing {
    align-items: flex-end !important;
}

.message-bubble-full {
    max-width: 45% !important;
    min-width: 80px !important;
    background: #f1f3f4 !important;
    border-radius: 18px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    position: relative !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    display: inline-block !important;
    border: none !important;
}

.timeline-message.incoming .message-bubble-full {
    background: #f1f3f4 !important;
    color: #202124 !important;
    border-bottom-left-radius: 5px !important;
}

.timeline-message.outgoing .message-bubble-full {
    background: #1a73e8 !important;
    color: white !important;
    border-bottom-right-radius: 5px !important;
}

.timeline-message.incoming .message-bubble-full::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: -6px !important;
    width: 0 !important;
    height: 0 !important;
    border: 6px solid transparent !important;
    border-right-color: #f1f3f4 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}

.timeline-message.outgoing .message-bubble-full::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: -6px !important;
    width: 0 !important;
    height: 0 !important;
    border: 6px solid transparent !important;
    border-left-color: #1a73e8 !important;
    border-bottom: 0 !important;
    border-right: 0 !important;
}

.bubble-sender {
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-bottom: -15px !important;
    opacity: 0.8 !important;
}

.timeline-message.incoming .bubble-sender {
    color: #5f6368 !important;
    text-align: left !important;
}

.timeline-message.outgoing .bubble-sender {
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: right !important;
}

.bubble-content {
    line-height: 1.4 !important;
    margin: 0 !important;
    font-size: 14px !important;
    word-wrap: break-word !important;
}

.timeline-message.incoming .bubble-content {
    color: #202124 !important;
}

.timeline-message.outgoing .bubble-content {
    color: #ffffff !important;
}

.bubble-timestamp {
    font-size: 10px !important;
    margin-top: 4px !important;
    opacity: 0.6 !important;
}

.timeline-message.incoming .bubble-timestamp {
    color: #5f6368 !important;
    text-align: left !important;
}

.timeline-message.outgoing .bubble-timestamp {
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: right !important;
}

.message-sender-info {
    display: none !important;
}

.message-timestamp {
    display: none;
}

.message-sender-info {
    font-size: 11px;
    color: #65676b;
    margin-bottom: 2px;
    font-weight: 500;
}

.timeline-message.incoming .message-sender-info {
    text-align: left;
    color: #65676b;
}

.timeline-message.outgoing .message-sender-info {
    text-align: right;
    color: #65676b;
    order: 2;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .conversations-container {
        margin: 0;
        border-radius: 0;
    }
    
    .conversation-item {
        padding: 10px 12px;
    }
    
    .contact-avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .contact-details h3 {
        font-size: 14px;
    }
    
    .contact-number {
        font-size: 12px;
    }
    
    .conversation-time {
        font-size: 11px;
    }
    
    .latest-message-preview {
        font-size: 12px;
    }
}