/* App Screens - Screen-specific styles */

/* Home Screen - Circular Navigation */
.circular-nav-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
    position: relative;
}

.week-indicator {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.week-indicator span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Navigation Levels */
.nav-level {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-level.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

/* Center Circle */
.nav-center {
    position: relative;
    z-index: 10;
}

.center-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: transparent;  /* No fill, just border */
    border: 1px solid rgba(255, 255, 255, 0.2);  /* Subtle white border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.center-circle:active {
    transform: scale(0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

.center-circle.main-hub {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);  /* Slightly brighter border for main */
}

.circle-label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.circle-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

/* Navigation Items */
.nav-items {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-item {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    transform: rotate(var(--angle)) translateY(-100px) rotate(calc(-1 * var(--angle)));
    transition: var(--transition);
}

.domain-circle,
.focus-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;  /* No fill, matching PDF */
    border: 1px solid rgba(255, 255, 255, 0.15);  /* Very subtle white border */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    padding: var(--spacing-sm);
}

.domain-circle:active,
.focus-circle:active {
    transform: scale(0.95);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);  /* Brighter on tap */
}

.domain-number {
    font-size: 20px;
    font-weight: 400;  /* Lighter weight */
    color: rgba(255, 255, 255, 0.6);  /* Subdued white */
    line-height: 1;
    margin-bottom: 4px;
}

.domain-name,
.focus-name {
    font-size: 11px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.8);  /* White but not too bright */
    font-weight: 300;
}

.focus-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* Today Screen */
.today-container {
    padding: var(--spacing-lg);
}

.today-header {
    margin-bottom: var(--spacing-lg);
}

.today-date {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.today-week {
    color: var(--text-secondary);
    font-size: 14px;
}

.today-card {
    background: transparent;  /* No card background */
    border-radius: 16px;
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);  /* Subtle border */
}

.today-focus {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.focus-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.focus-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.focus-reminder {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

.today-triggers {
    padding-top: var(--spacing-lg);
}

.trigger-time {
    padding: var(--spacing-md);
    background: transparent;
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.trigger-time.active {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.trigger-time.completed {
    opacity: 0.6;
}

.trigger-label {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.trigger-time-range {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: var(--spacing-sm);
}

.trigger-message {
    margin-top: var(--spacing-sm);
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-primary);
}

.check-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.check-btn:active {
    transform: scale(0.95);
}

.trigger-time.completed .check-btn {
    background: var(--accent-success);
    border-color: var(--accent-success);
    color: white;
}

.view-fast-btn {
    width: 100%;
    padding: var(--spacing-md);
    margin-top: var(--spacing-lg);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
}

.view-fast-btn:active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(0.98);
}

/* Progress Screen */
.progress-container {
    padding: var(--spacing-lg);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.progress-header h2 {
    font-size: 24px;
    font-weight: 600;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.streak-icon {
    font-size: 20px;
}

.streak-count {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.streak-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.cycle-visual {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.progress-ring {
    transform: rotate(-90deg);
}

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

.progress-week {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.progress-percent {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--accent-primary, #4a9eff);
    line-height: 1;
}

.progress-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.week-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.week-item.completed {
    background: var(--accent-success);
    border-color: var(--accent-success);
}

.week-item.current {
    border-color: var(--accent-primary, #4a9eff);
    color: var(--accent-primary, #4a9eff);
    background: rgba(255, 215, 0, 0.1);
}

.week-item.special {
    background: linear-gradient(135deg, transparent, var(--bg-tertiary));
    border-color: var(--accent-primary, #4a9eff);
    color: var(--accent-primary, #4a9eff);
}

.domain-progress h3 {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.domain-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.domain-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.domain-label {
    flex: 0 0 120px;
    font-size: 12px;
    color: var(--text-secondary);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-primary, #4a9eff);
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.domain-percent {
    flex: 0 0 35px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary, #4a9eff);
}

/* Schedule Screen */
.schedule-container {
    padding: var(--spacing-lg);
}

.schedule-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* More/Settings Screen */
.more-container {
    padding: var(--spacing-lg);
}

.profile-section {
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.profile-avatar {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.profile-section h3 {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
}

.profile-start {
    color: var(--text-secondary);
    font-size: 14px;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px;
    margin-bottom: 2px;
}

.menu-item:active {
    background: var(--bg-tertiary);
    transform: scale(0.98);
}

.menu-icon {
    font-size: 20px;
    margin-right: var(--spacing-md);
}

.menu-label {
    flex: 1;
    text-align: left;
    font-size: 16px;
}

.menu-arrow {
    color: var(--text-secondary);
    font-size: 20px;
}