/* CSS styles would go here */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.logo {
    font-size: 24px;
    color: #4CAF50;
    margin-right: 10px;
}

h1 {
    margin: 0;
    color: #2c3e50;
}

.description {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 20px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
}

.status-off {
    background-color: #e74c3c;
}

.section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.section-icon {
    margin-right: 10px;
    color: #3498db;
}

#task-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    margin-bottom: 10px;
    border-left: 3px solid #3498db;
}

.task-actions {
    display: flex;
    gap: 5px;
}

.btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.threshold-display {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.slider-container {
    margin-bottom: 15px;
}

.slider {
    width: 100%;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

.mode-selector {
    display: flex;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.mode-btn {
    flex: 1;
    padding: 8px;
    text-align: center;
    cursor: pointer;
}

.mode-btn.active {
    background-color: #3498db;
    color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-toggle {
    background-color: #4CAF50;
}

input:checked + .slider-toggle:before {
    transform: translateX(26px);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-card {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 20px;
}

#tabs {
    margin-top: 15px;
}

#tab-similarity-loading, #tab-task-similarity {
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    margin-top: 10px;
}