.dashboard-container {
    color: #ffffff;
    max-width: 400px;
    margin: 0 auto;
}


/* Today Section */
.dashboard-today {
    text-align: center;
    margin-bottom: 30px;
}

.today-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

/* Current State Status */
.current-state-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid #6366f1;
}

.current-state-status .status-now {
    opacity: 0.6;
}

.current-state-status .phase-name {
    font-weight: 600;
    color: #6366f1;
}

.current-state-status .status-divider {
    opacity: 0.3;
}

.current-state-status .intensity-label {
    opacity: 0.6;
}

.current-state-status .intensity-value {
    font-weight: 600;
}

.current-state-status .intensity-low {
    color: #22c55e;
}

.current-state-status .intensity-medium {
    color: #eab308;
}

.current-state-status .intensity-high {
    color: #ef4444;
}

/* Main Progress Circle */
.main-progress-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 40px 0; */
    min-height: 250px;
    cursor: pointer;
}

.progress-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.progress-percentage {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.progress-label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

/* Side Metric Labels */
.side-metric-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 1;
}

.side-metric-left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.side-metric-right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.side-percentage {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.side-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Category Icons */
.category-icons {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    /* margin-top: 20px; */
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.category-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
}

.category-progress-ring {
    position: absolute;
    top: 0;
    left: 0;
}

.category-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.category-training {
    color: #06b6d4;
}

.category-diet {
    color: #8b5cf6;
}

.category-regen {
    color: #3b82f6;
}

.category-name {
    font-size: 13px;
    opacity: 0.8;
}

/* TO DO Section */
.dashboard-todo {
    margin-bottom: 20px;
}

.todo-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.todo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 3px solid transparent;
    cursor: pointer;
    outline: none;
}

.todo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.todo-item:focus .todo-overlay {
    opacity: 1;
    visibility: visible;
}

.todo-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.todo-btn:hover {
    transform: scale(1.05);
}

.todo-btn:active {
    transform: scale(0.98);
}

.todo-btn-start {
    background: #22c55e;
    color: #fff;
}

.todo-btn-finish {
    background: #3b82f6;
    color: #fff;
}
.todo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.todo-icon img {
    width: 30px;
    height: 30px;
    opacity: 0.6;
}

.todo-phase-ampk {
    border-left-color: #6366f1;
}

.todo-phase-mtor {
    border-left-color: #06b6d4;
}

.todo-content {
    flex: 1;
}

.todo-name {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
}

.todo-subtitle {
    font-size: 13px;
    opacity: 0.6;
}

.todo-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.todo-phase-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.7;
}

.todo-list-hidden {
    display: none;
    margin-top: 15px;
}

.todo-list-hidden.expanded {
    display: flex;
}

.todo-expand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s;
}

.todo-expand-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.todo-expand-link.expanded i {
    transform: rotate(180deg);
}

/* Stats Section */
.dashboard-stats {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    /* text-align: center; */
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    white-space: nowrap;
}

.stat-unit {
    font-size: 18px;
    opacity: 0.6;
    font-weight: 500;
}

.stat-max {
    font-size: 20px;
    opacity: 0.5;
}

.stat-change {
    font-size: 12px;
    opacity: 0.6;
    white-space: nowrap;
}

/* Phase Scale */
.phase-scale-wrapper {
  margin: auto;
  margin-bottom: 20px;
  width: calc(90% - 10px);
}

#phase-scale-canvas {
  display: block;
  width: 100%;
}
