﻿html, body {
    font-family: Arial !important; 
}
.x-body { 
    font-family: Arial !important;
}
.mobile-search-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

    .search-input-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-input-wrapper .form-control {
        padding-left: 40px;
        border-radius: 25px;
        border: 1px solid #dee2e6;
        height: 42px;
    }

        .search-input-wrapper .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
        }
.mobile-add-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #865d36 0%, #a67c52 100%) !important;
    border-radius: 10px !important;
    color: white !important;
    font-size: 20px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(134, 93, 54, 0.3) !important;
    transition: transform 0.2s ease !important;
}

    .mobile-add-btn:active {
        transform: scale(0.95);
    }

    .mobile-add-btn:hover {
        color: white;
    }

/* Mobile Save Container */
.mobile-save-container {
    position: fixed !important;
    bottom: 70px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 16px !important;
    background: white !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
    z-index: 999 !important;
}

.mobile-save-btn {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

    .mobile-save-btn:hover:not(:disabled) {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    }

    .mobile-save-btn:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }





    mobile-search-header {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e7eb;
}

.search-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-wrapper {
    flex: 1;
    min-width: 0;
}

.search-wrapper :deep(input) {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #e5e7eb;
}

.mobile-search-spacer {
    height: 50px;
}

/* Mobile Date Filters */
.mobile-date-filters {
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.date-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-filter-item {
    flex: 1;
    min-width: 0;
}

.date-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-filter-item .form-control {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
/* Mobile Header */
.mobile-header {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-back:hover {
        background: #e9ecef;
    }

    .btn-back i {
        font-size: 1.25rem;
        color: #495057;
    }

.mobile-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    flex: 1;
    text-align: center;
}

.btn-add {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-add:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    .btn-add i {
        font-size: 1.25rem;
        color: white;
    }

/* Mobile Search Row */
.mobile-search-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

    .search-input-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-input-wrapper .form-control {
        padding-left: 40px;
        border-radius: 25px;
        border: 1px solid #dee2e6;
        height: 42px;
    }

        .search-input-wrapper .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
        }

/* Header Spacer */
.mobile-header-spacer {
    height: 65px;
}

/* Mobile Fixed Header */
.mobile-edit-header {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e7eb;
}

.mobile-back-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f3f4f6;
    border-radius: 10px;
    font-size: 18px;
    color: #865d36!important;
    cursor: pointer;
}

    .mobile-back-btn:active {
        background: #e5e7eb;
    }

.mobile-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
    text-align: center;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-save-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(135deg, #865d36 0%, #a67c52 100%);
    border-radius: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(134, 93, 54, 0.3);
}

    .mobile-save-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .mobile-save-btn:not(:disabled):active {
        transform: scale(0.95);
    }

.mobile-header-title {
    color: #865d36!important; 
}