/* assets/css/servicepage.css */

:root {
    --primary-color: #0b57d0;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --text-muted: #888;
    --bg-light: #f4f8fb;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
}

body {
    background-color: var(--bg-light);
    font-family: 'Outfit', sans-serif;
    padding-bottom: 70px;
    /* Space for bottom nav */
}

/* Header */
.mobile-service-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    /* Removed shadow for cleaner look like image */
    border-bottom: 1px solid #f0f0f0;
}

.mobile-service-header .back-btn {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px;
}

.mobile-service-header .page-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
}

.notification-icon {
    position: relative;
    padding: 10px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.notification-dot {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* Search Bar */
.service-search-container {
    padding: 20px 0;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    background: #fff;
    border-radius: 50px;
    /* More rounded */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.15);
    /* Highlight on interaction */
    border-color: #d0e1fd;
}

.search-input-wrapper .search-icon {
    padding-left: 15px;
    color: #ccc;
}

.search-input-wrapper input {
    border: none;
    padding: 12px 10px;
    width: 100%;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    color: #333;
}

.search-input-wrapper input::placeholder {
    color: #aaa;
}

.search-input-wrapper .filter-icon {
    padding: 0 15px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
}

/* Service Categories Card */
.service-category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid #f9f9f9;
}

.category-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}

.category-header .cat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
}

/* Category Icon Colors */
.blue-bg {
    background: #e6f0ff;
    color: #0d6efd;
}

.yellow-bg {
    background: #fff8e1;
    color: #fbc02d;
}

.purple-bg {
    background: #f3e5f5;
    color: #ab47bc;
}

.teal-bg {
    background: #e0f2f1;
    color: #009688;
}

.green-bg {
    background: #e8f5e9;
    color: #43a047;
}

.red-bg {
    background: #ffebee;
    color: #ef5350;
}

.category-header .cat-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    flex-grow: 1;
}

.category-header .toggle-icon {
    color: #ccc;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.category-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Service List Items (New Design) */
.service-list-container {
    padding: 5px 0;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:active {
    background: #fcfcfc;
}

/* Item Icon Box */
.service-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    /* Soft square like image */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Item Colors */
.light-blue {
    background: #eef4ff;
    color: #1877f2;
}

.light-purple {
    background: #f8f0ff;
    color: #9c27b0;
}

.light-orange {
    background: #fff4e6;
    color: #ff9800;
}

.light-green {
    background: #e8f5e9;
    color: #4caf50;
}

.light-red {
    background: #ffebee;
    color: #f44336;
}

.light-teal {
    background: #e0f2f1;
    color: #009688;
}

.service-info {
    flex-grow: 1;
}

.service-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.service-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.arrow-icon {
    color: #ddd;
    font-size: 0.8rem;
}

/* Help Box */
.help-box {
    background: #eef6ff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e1e9f5;
}

.help-box .icon-circle {
    width: 50px;
    height: 50px;
    background: #cfe2ff;
    /* Accented bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.help-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.help-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.help-box .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid #ddd;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.75rem;
    font-weight: 500;
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.bottom-nav .nav-item.active {
    color: var(--primary-color);
}