* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #FFFFFF;
    padding: 24px 32px;
    margin-bottom: 0;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

header .header-shine {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    transform: translate(-50%, -50%);
    top: 0;
    left: 0;
}

header:hover .header-shine {
    opacity: 1;
}

header .header-left,
header .header-right {
    position: relative;
    z-index: 2;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-logo {
    max-height: 60px;
    max-width: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
}

h1 {
    font-size: 36px;
    color: #FFFFFF;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 2px;
}

/* Dashboard Analytics Styles */
.dashboard-analytics {
    margin: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dashboard-analytics h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%) 1;
}

.harvey-ball-container {
    width: 100%;
}

.progress-charts-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.harvey-ball-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.harvey-ball-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.harvey-ball-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.harvey-ball-background {
    fill: none;
    stroke: #E5E5E5;
    stroke-width: 12;
}

.harvey-ball-progress {
    fill: none;
    stroke: url(#harveyGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 424.11 424.11;
    stroke-dashoffset: 424.11;
    transition: stroke-dashoffset 0.5s ease, stroke 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.4));
}

.harvey-ball-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.harvey-ball-time {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.harvey-ball-label {
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.harvey-ball-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    padding: 12px 24px;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-width: 80px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4), 0 0 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5), 0 0 12px rgba(102, 126, 234, 0.4);
}

#startTaskBtn {
    position: relative;
    overflow: hidden;
}

#startTaskBtn .btn-shine {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    transform: translate(-50%, -50%);
    top: 0;
    left: 0;
}

#startTaskBtn:hover .btn-shine {
    opacity: 1;
}

#startTaskBtn .btn-text {
    position: relative;
    z-index: 2;
}

#planTaskBtn .btn-shine {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    transform: translate(-50%, -50%);
    top: 0;
    left: 0;
}

#planTaskBtn:hover .btn-shine {
    opacity: 1;
}

#planTaskBtn .btn-text {
    position: relative;
    z-index: 2;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4), 0 0 8px rgba(245, 87, 108, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5), 0 0 12px rgba(245, 87, 108, 0.4);
}

.btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.4), 0 0 8px rgba(255, 179, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #FF8F00 0%, #FFB300 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.5), 0 0 12px rgba(255, 179, 0, 0.4);
}

.btn-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 179, 0, 0.4);
}

.btn-small {
    padding: 4px 12px;
    font-size: 12px;
    min-height: 28px;
    min-width: auto;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.btn-small.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.4), 0 0 6px rgba(245, 87, 108, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-small.btn-danger:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.5), 0 0 10px rgba(245, 87, 108, 0.4);
}

.btn-small:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.planned-tasks-section {
    padding: 32px;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
    backdrop-filter: blur(10px);
    margin: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.planned-tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

.planned-tasks-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.planned-total-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.planned-total-label {
    font-size: 13px;
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    font-weight: 500;
}

.planned-total-value {
    font-size: 15px;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.planned-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planned-task-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px 20px;
    border-left: 3px solid #90A4AE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: move;
}

.planned-task-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
}

.planned-task-item.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #90A4AE;
    cursor: grab;
    padding: 4px;
    user-select: none;
    flex-shrink: 0;
}

.drag-handle:active {
    cursor: grabbing;
}

.drag-icon {
    font-size: 16px;
    line-height: 1;
    letter-spacing: -2px;
    font-weight: bold;
}

.planned-task-content {
    flex: 1;
    min-width: 0;
}

.planned-task-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.planned-task-title {
    font-weight: 500;
    color: #32363A;
    font-size: 15px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.planned-task-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 13px;
}

.planned-duration-label {
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.planned-duration-value {
    color: #32363A;
    font-weight: 500;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.planned-duration-value:hover {
    background-color: rgba(0, 112, 242, 0.1);
}

.planned-duration-input {
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.planned-task-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-planned-start {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 252, 0.98) 100%);
    color: #4A5568;
    border: 1.5px solid rgba(102, 126, 234, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.btn-planned-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.btn-planned-start:hover::before {
    left: 100%;
}

.btn-planned-start:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.06) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    color: #2D3748;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.btn-planned-start:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-planned-start span {
    position: relative;
    z-index: 1;
}

.tasks-section {
    padding: 32px;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    margin: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tasks-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.tasks-section-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.show-breaks-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #2d3748;
    position: relative;
}

.show-breaks-toggle:hover {
    opacity: 0.9;
}

.switch-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    border-radius: 26px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.switch-checkbox:checked + .switch-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch-checkbox:checked + .switch-slider::before {
    transform: translateX(22px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.switch-checkbox:focus + .switch-slider {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.switch-checkbox:active + .switch-slider::before {
    width: 24px;
}

.switch-checkbox:checked:active + .switch-slider::before {
    transform: translateX(18px);
}

.quickstart-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.quickstart-label {
    font-size: 13px;
    color: #6A6D70;
    font-weight: 400;
    white-space: nowrap;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    flex-shrink: 0;
}

.quickstart-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 1;
    align-items: center;
}

.quickstart-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 32px;
}

.quickstart-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quickstart-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tasks-section h2 {
    color: #2d3748;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    flex: 1;
    padding-bottom: 16px;
    position: relative;
    display: inline-block;
    align-self: flex-start;
}

.tasks-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.settings-section {
    padding: 32px;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    margin: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.settings-content {
    margin-top: 16px;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.setting-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0070F2;
}

.setting-text {
    font-size: 14px;
    font-weight: 400;
    color: #32363A;
}

.setting-description {
    margin-top: 8px;
    margin-left: 30px;
    font-size: 12px;
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.setting-label-text {
    font-size: 14px;
    font-weight: 400;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    margin-bottom: 8px;
    display: block;
}

.business-hours-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 30px;
    margin-top: 8px;
}

.time-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 30px;
    margin-top: 8px;
}

.working-hours-input .time-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #DBDBDB;
    border-radius: 8px;
    font-size: 14px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.time-unit {
    font-size: 14px;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.time-input-label {
    font-size: 13px;
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.time-input {
    padding: 6px 10px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    font-size: 13px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    color: #32363A;
    background: #FFFFFF;
    cursor: pointer;
}

.time-input:hover {
    border-color: #0070F2;
}

.time-input:focus {
    outline: none;
    border-color: #0070F2;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.1);
}

.time-separator {
    font-size: 14px;
    color: #6A6D70;
    font-weight: 400;
}

.calendar-section {
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    margin: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.calendar-section h2 {
    color: #2d3748;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%) 1;
    padding-bottom: 16px;
}

.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.calendar-date-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.calendar-total-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.calendar-time-label {
    font-size: 12px;
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.calendar-time-value {
    font-size: 18px;
    font-weight: 600;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.calendar-mini-pie-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.calendar-mini-pie-chart {
    width: 100%;
    height: 100%;
}

.mini-pie-segment {
    transition: opacity 0.2s ease;
}

.mini-pie-segment:hover {
    opacity: 0.8;
}

.calendar-controls label {
    font-size: 14px;
    color: #32363A;
    font-weight: 400;
}

.date-picker {
    padding: 8px 12px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #FFFFFF;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    height: 36px;
    min-width: 160px;
}

.date-picker:hover {
    border-color: #C4C4C4;
    background: #F7F7F7;
}

.date-picker:focus {
    outline: none;
    border-color: #0070F2;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

.selected-date-tasks {
    margin-top: 20px;
}

.selected-date-tasks h3 {
    color: #32363A;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    border-bottom: 1px solid #DBDBDB;
    padding-bottom: 12px;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.empty-message {
    text-align: center;
    color: #6A6D70;
    font-style: normal;
    padding: 40px;
    font-weight: 400;
    font-size: 14px;
}

.task-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border-left: 4px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.task-item.active {
    border-left-color: #48bb78;
    border-left-width: 4px;
    box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.3), 0 8px 24px rgba(72, 187, 120, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.task-header-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.task-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.category-development {
    background: #E3F2FD;
    color: #1565C0;
}

.category-customer-incidents {
    background: #FFEBEE;
    color: #C62828;
}

.category-internal-incidents {
    background: #FFF3E0;
    color: #E65100;
}

.category-meetings {
    background: #F3E5F5;
    color: #7B1FA2;
}

.category-learning {
    background: #E8F5E9;
    color: #2E7D32;
}

.category-break {
    background: #F5F5F5;
    color: #757575;
}

.category-select {
    padding: 6px 10px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    font-size: 13px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    color: #32363A;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    min-width: 160px;
}

.category-select:hover {
    border-color: #C4C4C4;
    background: #F7F7F7;
}

.category-select:focus {
    outline: none;
    border-color: #0070F2;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

/* Task Modal Styles */
.task-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(50, 54, 58, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
    backdrop-filter: blur(2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.task-modal-content {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 32px;
    min-width: 420px;
    max-width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.25s ease;
    border: 1px solid #DBDBDB;
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.task-modal-content h3 {
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 400;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    padding-bottom: 12px;
    border-bottom: 1px solid #DBDBDB;
}

.task-modal-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.task-modal-content .form-group:last-of-type {
    margin-bottom: 24px;
}

.task-modal-content .form-group label {
    font-size: 14px;
    font-weight: 400;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.task-modal-content .form-input {
    padding: 10px 12px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    font-size: 14px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    color: #32363A;
    background: #FFFFFF;
    transition: all 0.15s ease;
    height: 40px;
    width: 100%;
    box-sizing: border-box;
}

.task-modal-content .form-input:hover {
    border-color: #C4C4C4;
    background: #F7F7F7;
}

.task-modal-content .form-input:focus {
    outline: none;
    border-color: #0070F2;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

.autocomplete-wrapper .form-input:focus {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.task-modal-content .form-input::placeholder {
    color: #9AA0A5;
    font-style: italic;
}

/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #DBDBDB;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1001;
    margin-top: -1px;
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #F7F7F7;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background-color: #F7F7F7;
}

.suggestion-title {
    flex: 1;
    font-size: 14px;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.suggestion-category {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
    white-space: nowrap;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.suggestion-category-development {
    background: #E3F2FD;
    color: #1565C0;
}

.suggestion-category-customer-incidents {
    background: #FFEBEE;
    color: #C62828;
}

.suggestion-category-internal-incidents {
    background: #FFF3E0;
    color: #E65100;
}

.suggestion-category-meetings {
    background: #F3E5F5;
    color: #7B1FA2;
}

.suggestion-category-learning {
    background: #E8F5E9;
    color: #2E7D32;
}

.suggestion-category-break {
    background: #F5F5F5;
    color: #757575;
}

.task-modal-content select.form-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236A6D70' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 36px;
}

.task-modal-content select.form-input:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2332363A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

.task-modal-content select.form-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230070F2' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

.task-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #DBDBDB;
}

.collapse-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6A6D70;
    transition: all 0.15s ease;
    flex-shrink: 0;
    border-radius: 4px;
}

.collapse-toggle:hover {
    background: #F7F7F7;
    color: #32363A;
}

.collapse-icon {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.2s ease, color 0.15s ease;
    transform: rotate(0deg);
}

.task-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    background: #F7F7F7;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6A6D70;
}

.session-count {
    font-weight: 500;
    color: #32363A;
}

.task-duration-summary {
    font-weight: 500;
    color: #32363A;
}

.task-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #32363A;
    padding: 8px 12px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #FFFFFF;
    min-width: 0;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.task-title:hover {
    background: #F7F7F7;
    border-color: #C4C4C4;
}

.task-title:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #0070F2;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

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

.task-actions-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: rgba(255, 255, 255, 0.6);
    color: #6A6D70;
    border: 1px solid #DBDBDB;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    line-height: 1;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #C4C4C4;
    color: #32363A;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.dropdown-toggle:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-icon {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    transform: rotate(90deg);
    font-weight: bold;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 160px;
    padding: 8px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    background: transparent;
    border: none;
    color: #32363A;
    font-size: 14px;
    font-weight: 500;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #32363A;
    transform: translateX(4px);
}

.dropdown-item:active {
    transform: translateX(2px);
}

.dropdown-item-danger {
    color: #E53935;
}

.dropdown-item-danger:hover {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(198, 40, 40, 0.1) 100%);
    color: #C62828;
}

.task-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.task-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.task-detail label {
    font-size: 12px;
    color: #6A6D70;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.task-detail input {
    padding: 8px 12px;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #FFFFFF;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    height: 36px;
}

.task-detail input:hover {
    border-color: #C4C4C4;
    background: #F7F7F7;
}

.task-detail input:focus {
    outline: none;
    border-color: #0070F2;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

.task-detail input[readonly] {
    background: #F7F7F7;
    color: #6A6D70;
    cursor: not-allowed;
    border-color: #E5E5E5;
}

.task-detail input[readonly]:hover {
    background: #F7F7F7;
    border-color: #E5E5E5;
}

.task-detail input[readonly]:focus {
    background: #F7F7F7;
    border-color: #E5E5E5;
    box-shadow: none;
}

.task-detail input::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.7;
    cursor: pointer;
}

.task-duration {
    font-size: 14px;
    font-weight: 400;
    color: #0070F2;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #DBDBDB;
}

.task-duration.active {
    color: #35A82B;
    font-weight: 400;
}

.time-entries {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-entry {
    background: #F7F7F7;
    border-radius: 4px;
    padding: 12px;
    border-left: 2px solid #DBDBDB;
    border: 1px solid #DBDBDB;
    transition: all 0.2s ease;
}

.time-entry.active {
    border-left-color: #35A82B;
    background: #F5FDF4;
}

/* Compact style for time entries in inactive tasks */
.task-item:not(.active) .time-entries {
    gap: 6px;
}

.task-item:not(.active) .time-entry {
    padding: 8px;
    font-size: 0.9em;
}

.task-item:not(.active) .time-entry-header {
    margin-bottom: 6px;
}

.task-item:not(.active) .time-entry-label {
    font-size: 12px;
}

.task-item:not(.active) .time-entry-duration {
    font-size: 12px;
    margin-top: 6px;
    padding-top: 6px;
}

.task-item:not(.active) .task-details {
    gap: 10px;
    margin-top: 6px;
}

.task-item:not(.active) .task-detail {
    gap: 3px;
}

.task-item:not(.active) .task-detail label {
    font-size: 11px;
}

.task-item:not(.active) .task-detail input {
    padding: 6px 10px;
    font-size: 13px;
    height: 32px;
}

.time-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.time-entry-label {
    font-size: 14px;
    color: #32363A;
    font-weight: 400;
}

.active-badge {
    background: #35A82B;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
}

.time-entry-duration {
    font-size: 14px;
    color: #6A6D70;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #DBDBDB;
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .container {
        border-radius: 0;
    }

    header {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 20px;
    }

    .header-left {
        flex: 1;
        min-width: 0;
    }

    .header-right {
        flex-shrink: 0;
    }

    .header-logo {
        max-height: 40px;
        max-width: 150px;
    }


    .tasks-section {
        padding: 16px;
    }

    .tasks-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tasks-section-header .btn {
        width: 100%;
    }

    .task-header {
        flex-direction: column;
        gap: 12px;
    }

    .task-header-left {
        width: 100%;
        flex-wrap: wrap;
    }

    .category-select {
        min-width: 100%;
        margin-top: 8px;
    }

    .task-modal-content {
        min-width: 90%;
        padding: 24px;
    }

    .task-modal-content .form-group {
        margin-bottom: 16px;
    }

    .task-modal-content .form-input {
        height: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .task-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .task-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .task-details {
        grid-template-columns: 1fr;
    }

    .dashboard-analytics {
        margin: 16px;
        padding: 16px;
    }

    .harvey-ball-container {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .harvey-ball-wrapper {
        width: 120px;
        height: 120px;
    }

    .harvey-ball-time {
        font-size: 20px;
    }

    .harvey-ball-stats {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .stat-value {
        font-size: 18px;
    }
}

/* Category Pie Chart Styles */
.category-pie-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
}

.category-pie-title {
    font-size: 18px;
    font-weight: 400;
    color: #32363A;
    margin: 0;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
    padding-bottom: 8px;
    border-bottom: 1px solid #DBDBDB;
    width: 100%;
}

.category-pie-chart-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.category-pie-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    position: relative;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.category-pie-chart {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.pie-segment {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2.5;
}

.pie-segment:hover {
    filter: brightness(1.2) drop-shadow(0 0 12px currentColor);
    transform-origin: center;
    transform: scale(1.05);
    stroke-width: 3;
}

.category-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.legend-item:hover .legend-color {
    transform: scale(1.2);
    box-shadow: 0 0 12px currentColor !important;
}

.legend-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.legend-name {
    font-size: 14px;
    font-weight: 500;
    color: #32363A;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.legend-value {
    font-size: 12px;
    color: #6A6D70;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

.empty-categories {
    text-align: center;
    color: #6A6D70;
    font-style: italic;
    padding: 20px;
    font-size: 14px;
    font-family: "72", "72full", Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
    .progress-charts-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .harvey-ball-section {
        width: 100%;
        align-items: center;
    }

    .category-pie-container {
        width: 100%;
        align-items: center;
    }

    .category-pie-chart-container {
        flex-direction: column;
        align-items: center;
    }

    .category-pie-wrapper {
        width: 140px;
        height: 140px;
    }

    .category-legend {
        width: 100%;
        min-width: auto;
    }

    .legend-item {
        padding: 6px 0;
    }

    .calendar-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .calendar-date-controls {
        width: 100%;
    }

    .calendar-stats {
        width: 100%;
        justify-content: space-between;
    }

    .calendar-mini-pie-wrapper {
        width: 50px;
        height: 50px;
    }

    .calendar-time-value {
        font-size: 16px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1C1C1C;
    color: #E5E5E5;
}

body.dark-mode .container {
    background: #2C2C2C;
    border-color: #404040;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode header {
    border-bottom-color: #404040;
}

body.dark-mode .dashboard-analytics {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .dashboard-analytics h2 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .harvey-ball-background {
    stroke: #404040;
}

body.dark-mode .harvey-ball-time {
    color: #E5E5E5;
}

body.dark-mode .harvey-ball-label {
    color: #A0A0A0;
}

body.dark-mode .stat-value {
    color: #4A9EFF;
}

body.dark-mode .stat-label {
    color: #A0A0A0;
}

body.dark-mode .category-pie-title {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .legend-label {
    color: #E5E5E5;
}

body.dark-mode .legend-name {
    color: #E5E5E5;
}

body.dark-mode .legend-value {
    color: #B0B0B0;
}

body.dark-mode .planned-tasks-section {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.85) 0%, rgba(40, 40, 40, 0.65) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-mode .planned-task-item {
    background: linear-gradient(135deg, rgba(53, 53, 53, 0.7) 0%, rgba(48, 48, 48, 0.5) 100%);
    border-left-color: #607D8B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .planned-task-item:hover {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.85) 0%, rgba(55, 55, 55, 0.65) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark-mode .planned-task-title {
    color: #E5E5E5;
}

body.dark-mode .planned-duration-label {
    color: #A0A0A0;
}

body.dark-mode .planned-duration-value {
    color: #E5E5E5;
}

body.dark-mode .planned-duration-value:hover {
    background-color: rgba(0, 112, 242, 0.2);
}

body.dark-mode .planned-duration-input {
    background: #2C2C2C !important;
    color: #E5E5E5 !important;
    border-color: #0070F2 !important;
}

body.dark-mode .drag-handle {
    color: #78909C;
}

body.dark-mode .planned-total-time {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-mode .planned-total-label {
    color: #A0A0A0;
}

body.dark-mode .planned-total-value {
    color: #E5E5E5;
}

body.dark-mode .btn-planned-start {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.95) 0%, rgba(55, 55, 55, 0.95) 100%);
    color: #E5E5E5;
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-mode .btn-planned-start::before {
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.15), transparent);
}

body.dark-mode .btn-planned-start:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.12) 100%);
    border-color: rgba(102, 126, 234, 0.45);
    color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-mode .tasks-section {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .tasks-section h2 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .show-breaks-toggle {
    color: #E5E5E5;
}

body.dark-mode .switch-slider {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .switch-slider::before {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.dark-mode .switch-checkbox:checked + .switch-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .switch-checkbox:checked + .switch-slider::before {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .task-item {
    background: #353535;
    border-color: #404040;
}

body.dark-mode .task-item.active {
    border-left-color: #48bb78;
    border-left-width: 4px;
    box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.3), 0 8px 24px rgba(72, 187, 120, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(53, 53, 53, 0.95) 100%);
}

body.dark-mode .task-title {
    color: #E5E5E5;
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .task-title:focus {
    border-color: #4A9EFF;
    background: #2C2C2C;
}

body.dark-mode .category-select {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .category-select:hover {
    background: #404040;
    border-color: #505050;
    color: #E5E5E5;
}

body.dark-mode .category-select:focus {
    border-color: #4A9EFF;
}

body.dark-mode .time-entry {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .time-entry.active {
    border-color: #4A9EFF;
}

body.dark-mode .task-detail input {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .task-detail input:hover {
    background: #404040;
    border-color: #505050;
    color: #E5E5E5;
}

body.dark-mode .task-detail input[type="datetime-local"] {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .task-detail input[type="datetime-local"]:hover {
    background: #404040;
    border-color: #505050;
    color: #E5E5E5;
}

body.dark-mode .task-detail input[type="datetime-local"]:focus {
    border-color: #4A9EFF;
    background: #2C2C2C;
}

body.dark-mode .task-detail input[type="datetime-local"][readonly] {
    background: #2C2C2C;
    color: #A0A0A0;
}

body.dark-mode .task-detail label {
    color: #A0A0A0;
}

body.dark-mode .task-duration {
    color: #E5E5E5;
}

body.dark-mode .task-duration.active {
    color: #4A9EFF;
}

body.dark-mode .btn {
    background: rgba(64, 64, 64, 0.9);
    color: #E5E5E5;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn:hover {
    background: rgba(80, 80, 80, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5), 0 0 10px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6), 0 0 15px rgba(102, 126, 234, 0.5);
}

body.dark-mode .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

body.dark-mode .btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.5), 0 0 10px rgba(245, 87, 108, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn-danger:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6), 0 0 15px rgba(245, 87, 108, 0.5);
}

body.dark-mode .btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.5);
}

body.dark-mode .btn-warning {
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.5), 0 0 10px rgba(255, 179, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn-warning:hover {
    background: linear-gradient(135deg, #FF8F00 0%, #FFB300 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.6), 0 0 15px rgba(255, 179, 0, 0.5);
}

body.dark-mode .btn-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 179, 0, 0.5);
}

body.dark-mode .btn-small {
    background: rgba(64, 64, 64, 0.9);
    color: #E5E5E5;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn-small.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.5), 0 0 6px rgba(245, 87, 108, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .btn-small.btn-danger:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.6), 0 0 10px rgba(245, 87, 108, 0.5);
}

body.dark-mode .btn-small:hover {
    background: rgba(80, 80, 80, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .settings-section {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .settings-section h2 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .setting-text {
    color: #E5E5E5;
}

body.dark-mode .setting-label-text {
    color: #E5E5E5;
}

body.dark-mode .time-unit {
    color: #E5E5E5;
}

body.dark-mode .setting-description {
    color: #A0A0A0;
}

body.dark-mode .time-input-label {
    color: #A0A0A0;
}

body.dark-mode .time-input {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .time-input:focus {
    border-color: #4A9EFF;
}

body.dark-mode .time-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.8;
}

body.dark-mode .time-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

body.dark-mode .time-input::-moz-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.8;
}

body.dark-mode .time-separator {
    color: #A0A0A0;
}

body.dark-mode .calendar-section {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .calendar-section h2 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .calendar-section label {
    color: #E5E5E5;
}

body.dark-mode .date-picker {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .date-picker:focus {
    border-color: #4A9EFF;
}

body.dark-mode .calendar-time-label {
    color: #A0A0A0;
}

body.dark-mode .calendar-time-value {
    color: #E5E5E5;
}

body.dark-mode .selected-date-tasks h3 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .empty-message {
    color: #A0A0A0;
}

body.dark-mode .task-summary {
    color: #A0A0A0;
    background: #2C2C2C;
}

body.dark-mode .session-count {
    color: #A0A0A0;
}

body.dark-mode .task-duration-summary {
    color: #A0A0A0;
}

body.dark-mode .time-entry-label {
    color: #A0A0A0;
}

body.dark-mode .time-entry-duration {
    color: #A0A0A0;
}

body.dark-mode .active-badge {
    background: #4A9EFF;
    color: #FFFFFF;
}

body.dark-mode .collapse-toggle {
    color: #A0A0A0;
}

body.dark-mode .collapse-toggle:hover {
    color: #E5E5E5;
}

body.dark-mode .quickstart-label {
    color: #E5E5E5;
}

body.dark-mode .quickstart-btn {
    border-color: #404040;
}

body.dark-mode .dropdown-toggle {
    background: rgba(44, 44, 44, 0.6);
    color: #A0A0A0;
    border-color: #404040;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-toggle:hover {
    background: rgba(60, 60, 60, 0.9);
    border-color: #505050;
    color: #E5E5E5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-mode .dropdown-toggle:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-menu {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.98) 0%, rgba(40, 40, 40, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-item {
    color: #E5E5E5;
}

body.dark-mode .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: #FFFFFF;
}

body.dark-mode .dropdown-item-danger {
    color: #FF6B6B;
}

body.dark-mode .dropdown-item-danger:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(229, 57, 53, 0.2) 100%);
    color: #FF5252;
}

body.dark-mode .task-modal {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .task-modal-content {
    background: #2C2C2C;
    border-color: #404040;
    color: #E5E5E5;
}

body.dark-mode .task-modal-content h3 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .form-group label {
    color: #E5E5E5;
}

body.dark-mode .form-help-text {
    color: #A0A0A0;
}

body.dark-mode .form-input {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .task-modal-content .form-input:hover {
    background: #404040;
    border-color: #505050;
    color: #E5E5E5;
}

body.dark-mode .task-modal-content select.form-input:hover {
    background: #404040;
    border-color: #505050;
    color: #E5E5E5;
}

body.dark-mode .form-input:focus {
    border-color: #4A9EFF;
    background: #2C2C2C;
}

body.dark-mode .autocomplete-dropdown {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .autocomplete-item {
    color: #E5E5E5;
}

body.dark-mode .autocomplete-item:hover,
body.dark-mode .autocomplete-item.highlighted {
    background: #404040;
}

body.dark-mode .suggestion-title {
    color: #E5E5E5;
}

body.dark-mode .jira-section {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode .jira-section h2 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode .jira-section label {
    color: #E5E5E5;
}

body.dark-mode .jira-section input[type="text"],
body.dark-mode .jira-section input[type="email"],
body.dark-mode .jira-section input[type="password"] {
    background: #2C2C2C;
    color: #E5E5E5;
    border-color: #404040;
}

body.dark-mode .jira-section input[type="text"]:focus,
body.dark-mode .jira-section input[type="email"]:focus,
body.dark-mode .jira-section input[type="password"]:focus {
    border-color: #4A9EFF;
}

/* Login Modal Styles */
.error-message {
    color: #E53935;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
}

body.dark-mode .error-message {
    color: #FF6B6B;
}

body.dark-mode #loginModal .task-modal-content {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-mode #loginModal .task-modal-content h3 {
    color: #E5E5E5;
    border-bottom-color: #404040;
}

body.dark-mode #loginModal .task-modal-content p {
    color: #E5E5E5;
}

body.dark-mode .help-text {
    color: #A0A0A0;
}

body.dark-mode .status-message {
    color: #E5E5E5;
}

body.dark-mode .status-message.success {
    color: #4CAF50;
}

body.dark-mode .status-message.error {
    color: #F44336;
}

