 
    /* TRACK */
.package-tracker-container {
	position: relative
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 1rem;
}
.tracking-close-btn{
	border: none;
	position: absolute;
	right: 10px;
	top: 10px;
	background: none;
	color: #ccc;
	padding: 0;
	cursor: pointer;
}




.tracking-close-btn:hover{
	color: #111; 
}
.tracking-item {
    margin-bottom: 1rem;
}

.tracking-item:last-child {
    margin-bottom: 0;
}

.tracking-separator {
    height: 1px;
    background: transparent;
    border-top: 1px dashed #e5e7eb;
    margin: 1rem 0;
}

.tracking-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: space-between;
}

.tracking-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.package-tracking-number {
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-status {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expand-btn {
    background-color: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.expand-btn:active {
    transform: translateY(1px);
}

.expand-chevron {
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 8 8'%3E%3Cpath d='M2 3l2 2 2-2' stroke='%236b7280' stroke-width='0.6' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.expand-chevron.expanded {
    transform: rotate(180deg);
}

.package-progress-wrapper {
    position: relative;
    padding: 0;
}

.package-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: flex-start;
}

.package-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.package-progress-line {
    height: 0;
    border-top: 2px dashed #e5e7eb;
    flex: 1;
    margin: 10px 0 0 0;
}

.package-progress-line.completed {
    border-color: #10b981;
    background: #10b981;
}

.package-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.package-dot.completed {
    background: #10b981;
    color: white;
}

.package-dot.active {
    background: #3b82f6;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.package-step-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-step-text.active {
    color: #3b82f6;
    font-weight: 500;
}

.package-step-date {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tracking-main-header{
    margin: 0;
}

.tracking-details {
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tracking-details.expanded {
    max-height: 400px;
}

.tracking-events {
    background: #f9fafb;
    border-radius: 6px;
    padding: 1rem;
    border: 1px dashed #e5e7eb;
}

.tracking-event {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.tracking-event:last-child {
    margin-bottom: 0;
}

.event-time {
    color: #6b7280;
    min-width: 100px;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-description {
    color: #374151;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


        /* Usage Dashboard Styles */
        .usage-container {
            max-width: 550px;
			padding-top: 10px;
            margin: 0 auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .month-selector {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
            background: white;
            padding: 0.75rem;
            border-radius: 0.5rem;
            border: 1px solid #e2e8f0;
        }

        .month-nav {
            background: none;
            border: none;
            padding: 0.25rem;
            cursor: pointer;
            border-radius: 0.25rem;
            color: #64748b;
            transition: all 0.2s;
            font-size: 1.2rem;
        }

        .month-nav:hover:not(:disabled) {
            background: #f1f5f9;
            color: #334155;
        }

        .month-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .current-month {
            font-weight: 600;
            color: #1e293b;
            font-size: 0.9rem;
			position: relative;
        }

        .productivity-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .stat-card {
            background: white;
            padding: 0.75rem;
            border-radius: 0.5rem;
            border: 1px solid #e2e8f0;
            text-align: center;
			transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .stat-number {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.125rem;
            transition: all 0.3s ease;
        }

        .stat-label {
            font-size: 0.7rem;
            color: #64748b;
            font-weight: 500;
        }

        /* View Toggle in Header */
        .view-toggle {
            display: flex;
            background: white;
            border-radius: 0.25rem;
            border: 1px solid #e2e8f0;
            overflow: hidden;
        }

        .view-tab {
            padding: 0.25rem 0.5rem;
            background: none;
            border: none;
            font-size: 0.7rem;
            font-weight: 500;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s;
        }

        .view-tab.active {
            background: #f1f5f9;
            color: #334155;
            font-weight: 600;
        }

        .view-tab:hover:not(.active) {
            background: #f8fafc;
            color: #475569;
        }

        /* Content Views */
        .view-content {
            display: none;
        }

        .view-content.active {
            display: block;
        }

        .ai-breakdown {
            background: white;
            border-radius: 0.5rem;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }

        .breakdown-header {
            padding: 0.75rem;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            font-size: 0.875rem;
            font-weight: 600;
            color: #475569;
        }

        /* View Toggle - positioned above breakdown */
        .view-toggle-wrapper {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 0.5rem;
        }

        .ai-list {
            padding: 0.5rem;
        }

        .ai-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.5rem;
            border-radius: 0.375rem;
            margin-bottom: 0.25rem;
            transition: background 0.2s;
        }

        .ai-item:hover {
            background: #f8fafc;
        }

        .ai-item:last-child {
            margin-bottom: 0;
        }

        .ai-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }


        .ai-name {
            font-size: 0.9rem;
            font-weight: 500;
            color: #334155;
        }

        .ai-stats {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .ai-count {
            font-size: 0.875rem;
            font-weight: 600;
            color: #1e293b;
        }

        .ai-bar {
            width: 40px;
            height: 4px;
            border-radius: 2px;
            overflow: hidden;
            background: #f1f5f9;
        }

        .ai-bar-fill {
            height: 100%;
            border-radius: 2px;
            transition: width 0.5s ease;
        }

        .deepseek .ai-bar-fill {
            background: linear-gradient(90deg, #8b5cf6, #a855f7);
        }

        .chatgpt .ai-bar-fill {
            background: linear-gradient(90deg, #059669, #10b981);
        }

        .gemini .ai-bar-fill {
            background: linear-gradient(90deg, #3b82f6, #6366f1);
        }

        /* Chart Styles */
        .chart-container {
            background: white;
            border-radius: 0.5rem;
            border: 1px solid #e2e8f0;
            overflow: hidden;
            margin-bottom: 0.75rem;
        }

        .chart-header {
            padding: 0.75rem;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
			position: relative;
        }

        .chart-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: #475569;
            margin: 0;
        }

        .chart-toggle-container {
            display: flex;
            background: white;
            border-radius: 0.25rem;
            border: 1px solid #e2e8f0;
            overflow: hidden;
			position: absolute;
			right: 10px;
        }

        .chart-toggle-btn {
            padding: 0.25rem 0.5rem;
            background: none;
            border: none;
            font-size: 0.7rem;
            font-weight: 500;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s;
        }

        .chart-toggle-btn.active {
            background: #f1f5f9;
            color: #334155;
            font-weight: 600;
        }

        .chart-toggle-btn:hover:not(.active) {
            background: #f8fafc;
            color: #475569;
        }

        .hidden {
            display: none !important;
        }

        .achievement {
            background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
            border: 1px solid #0ea5e9;
            border-radius: 0.5rem;
            padding: 0.5rem;
            text-align: center;
        }

        
            .achievement-content {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .achievement-emoji {
                width: 1.8rem;
                height: 1.8rem;
                flex-shrink: 0;
                background-image: url('https://hiaireply.com/imgs/rocket_1f680.png');
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }

            .achievement-text {
                font-size: 0.7rem;
                color: #0c4a6e;
                font-weight: 500;
                line-height: 1.4;
            }

            .achievement-number {
                font-weight: 700;
                color: #0369a1;
            }

            .getting-started {
                background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
                border: 1px solid #0ea5e9;
                border-radius: 0.5rem;
                padding: 0.8rem;
                text-align: center;
            }

            .getting-started-content {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .getting-started-text {
                font-size: 0.7rem;
                color: #0c4a6e;
                font-weight: 500;
                line-height: 1.4;
            }
        
        .loading-spinner {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            color: #64748b;
        }
		.gemini-small {
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			height: 20px;
			padding: 5px;
        }
		.chatgpt-small{
			border: 1px solid #ddd;
			  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			          border-radius: 8px;
			height: 30px;
		}
		.deepseek-small {
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			height: 22px;
			width: 22px;
			padding: 4px;
        }
		        .gemini-extra-small {
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			height: 16px;
			padding: 3px;
        }
		.chatgpt-extra-small{
			border: 1px solid #eee;
			  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			          border-radius: 5px;
			height: 22px;
		}
		.deepseek-extra-small {
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
			height: 18px;
			width: 18px;
			padding: 2px;
        }


.productivity-insight-boost {
    margin-left: 6px;
    font-size: 12px;
    color: #20a200;
    font-weight: 500;
    position: absolute;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
	display: flex;
	align-items: center;
	left: 100%;
}

.productivity-insight-boost::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34.26 39.1"%3E%3Cpath fill="%2320a200" d="M14.75,8.78c-0.15,0.15-0.31,0.29-0.46,0.45c-3.08,3.15-6.16,6.3-9.25,9.45c-0.84,0.86-1.83,1.03-2.78,0.48c-1.13-0.65-1.48-2.13-0.75-3.23c0.15-0.23,0.34-0.43,0.53-0.62c4.41-4.51,8.85-9.01,13.23-13.55c1.12-1.16,2.62-1.17,3.76,0.01c4.38,4.54,8.81,9.04,13.23,13.55c0.46,0.47,0.82,0.98,0.88,1.65c0.08,0.99-0.41,1.86-1.28,2.28c-0.83,0.4-1.79,0.25-2.48-0.43c-0.63-0.62-1.25-1.27-1.87-1.9c-2.51-2.57-5.02-5.14-7.53-7.7c-0.15-0.15-0.3-0.29-0.57-0.55c-0.02,0.37-0.04,0.59-0.04,0.82c0,8.8,0,17.61,0,26.41c0,1.18-0.8,2.18-1.83,2.31c-1.27,0.15-2.26-0.51-2.56-1.73c-0.06-0.24-0.06-0.51-0.06-0.76c0-8.73,0-17.46,0-26.19c0-0.23,0-0.46,0-0.69C14.86,8.81,14.8,8.79,14.75,8.78z"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
		.welcome-message {
    margin: 20px 0;
    padding: 0;
}

.welcome-content {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
}

.welcome-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
}

.welcome-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .tracking-time-part{
        display: none;
    }
}

@media (max-width: 500px) {
    .breakdown-header{
        padding: 0.5rem;
        font-size: 0.75rem;
       text-align: center;
    }
    .view-toggle-wrapper{
        justify-content: center;
    }
    .productivity-insight-boost::before {
        margin-right: 1px;
    }
    .view-tab{
        font-size: 0.6rem;
    }
    .month-selector{
        padding: 0.35rem;
    }
    .stat-card{
        padding: 0.55rem;
    }
    .stat-number {
    font-size: 1.1rem;
    }
    
}