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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

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

header h1 {
    color: #2c3e50;
    margin: 0;
    text-align: center;
    flex: 1;
}

.toggle-header-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #3498db;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.toggle-header-btn:hover {
    background-color: #f0f8ff;
    transform: scale(1.1);
}

.collapsible-header {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.collapsible-header.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-success {
    background-color: #27ae60;
    color: white;
}

.btn-success:hover {
    background-color: #229954;
}

.btn-warning {
    background-color: #f39c12;
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background-color: initial;
}

.exercise-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 200px;
    padding: 20px;
}

.exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    gap: 15px;
}

.exercise-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.exercise-info {
    flex: 1;
}

.exercise-name {
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
}

.exercise-time {
    color: #7f8c8d;
    font-size: 14px;
}

.pause-item {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.pause-item .exercise-name {
    color: #856404;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.modal-header h2 {
    color: #2c3e50;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.empty-state {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px 20px;
}

/* Timer Section Styles */
.timer-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 30px;
}

.timer-display {
    text-align: center;
}

.timer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.current-exercise-info {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.current-exercise-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 3px solid #ecf0f1;
    transition: all 0.3s ease;
}

.current-exercise-image.active {
    border-color: #27ae60;
    box-shadow: 0 6px 12px rgba(39,174,96,0.2);
}

.current-exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-exercise-image .no-image {
    color: #95a5a6;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.current-exercise-details {
    flex: 1;
    text-align: left;
}

.current-exercise-details h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    margin: 0 0 15px 0;
}

.current-exercise {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 5px;
}

.timer {
    margin-bottom: 20px;
}

.timer span {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
}

.timer-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.workout-info {
    color: #7f8c8d;
    font-size: 14px;
}

.workout-info .separator {
    margin: 0 10px;
}

.exercise-item.active {
    background-color: #d5f4e6;
    border-left: 4px solid #27ae60;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.exercise-item.completed {
    background-color: #f8f9fa;
    opacity: 0.7;
}

.exercise-item.completed .exercise-name {
    text-decoration: line-through;
}

/* Workout Management Styles */
.workout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.workout-name h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 20px;
}

.workout-controls {
    display: flex;
    gap: 10px;
}

.workouts-list {
    max-height: 400px;
    overflow-y: auto;
}

.workout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.workout-item:hover {
    background-color: #e9ecef;
}

.workout-info {
    flex: 1;
}

.workout-title {
    font-weight: bold;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.workout-details {
    color: #6c757d;
    font-size: 14px;
}

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

.btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

/* Exercise Actions Styles */
.exercise-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.exercise-actions .btn {
    padding: 4px 8px;
    font-size: 12px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.exercise-actions .move-up,
.exercise-actions .move-down {
    font-weight: bold;
    font-size: 14px;
}

.exercise-actions .edit-exercise {
    background-color: #3498db;
}

.exercise-actions .edit-exercise:hover {
    background-color: #2980b9;
}

.exercise-actions .delete-exercise {
    background-color: #e74c3c;
}

.exercise-actions .delete-exercise:hover {
    background-color: #c0392b;
}

/* Exercise Image Styles */
.exercise-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.exercise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Image Preview in Modal */
.image-preview {
    margin-top: 10px;
    max-width: 100%;
}

.preview-img {
    max-width: 200px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-text {
    color: #e74c3c;
    font-size: 14px;
    margin: 5px 0;
}

/* Tab Navigation Styles */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

.nav-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #7f8c8d;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-tab:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.nav-tab.active {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

/* Tab Content Styles */
.tab-content {
    display: none;
}

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

.main-view {
    display: none;
}

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

/* Library Styles */
.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

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

.exercise-library {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 300px;
    padding: 20px;
}

.library-exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.library-exercise-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.library-exercise-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.library-exercise-card.selected {
    border-color: #27ae60;
    background-color: #d5f4e6;
}

.library-card-image {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.library-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-card-image .no-image {
    color: #7f8c8d;
    font-size: 14px;
}

.library-card-content h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 16px;
}

.library-card-content .default-time {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 8px;
}

.library-card-content .description {
    color: #95a5a6;
    font-size: 12px;
    line-height: 1.4;
    max-height: 42px;
    overflow: hidden;
}

.library-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* Exercise Selection Grid */
.exercise-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

/* Large Modal */
.large-modal {
    max-width: 800px;
    width: 90%;
}

/* Exercise Preview */
.exercise-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.exercise-preview-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exercise-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-preview-info h3 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.exercise-preview-info .description {
    color: #7f8c8d;
    font-size: 14px;
    margin: 5px 0;
}

.exercise-preview-info .default-time {
    color: #95a5a6;
    font-size: 12px;
}

/* Import/Export Styles */
.import-section {
    margin-bottom: 20px;
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: #3498db;
    background-color: #e3f2fd;
}

.import-options {
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.import-options label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 5px;
}

.import-options input[type="radio"] {
    margin-right: 8px;
}

.import-preview {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
}

.import-preview h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.import-preview-list {
    max-height: 200px;
    overflow-y: auto;
}

.import-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 5px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #ecf0f1;
}

.import-preview-item.conflict {
    border-color: #f39c12;
    background-color: #fef9e7;
}

.import-preview-item.new {
    border-color: #27ae60;
    background-color: #d5f4e6;
}

.preview-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info {
    flex: 1;
}

.preview-info .name {
    font-weight: bold;
    margin-bottom: 2px;
}

.preview-info .details {
    font-size: 12px;
    color: #7f8c8d;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

/* Workout Management Styles */
.workout-display {
    text-align: center;
    padding: 20px;
}

.workout-quick-actions {
    margin-top: 15px;
}

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

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

.current-workout-editor {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
}

.editor-header h3 {
    margin: 0;
    color: #2c3e50;
}

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

.editor-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.workout-editor-list {
    min-height: 200px;
}

.saved-workouts-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
}

.saved-workouts-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

.saved-workouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.saved-workout-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.saved-workout-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.saved-workout-card.active {
    border-color: #27ae60;
    background-color: #d5f4e6;
}

.workout-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.workout-card-title {
    font-weight: bold;
    font-size: 16px;
    color: #2c3e50;
    margin: 0;
}

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

.workout-card-info {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.workout-card-meta {
    color: #95a5a6;
    font-size: 12px;
}

/* Readonly exercise list */
.exercise-list.readonly .exercise-actions {
    display: none;
}

.exercise-list.readonly .exercise-item {
    cursor: default;
}

.exercise-list.readonly .exercise-item:hover {
    transform: none;
}

/* Wake Lock Notice Styles */
.wake-lock-notice {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    color: #2d3436;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 14px;
    border-left: 4px solid #fdcb6e;
}

.wake-lock-notice span {
    flex: 1;
    line-height: 1.4;
}

.close-notice {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #636e72;
    cursor: pointer;
    padding: 0 0 0 10px;
    transition: color 0.3s ease;
}

.close-notice:hover {
    color: #2d3436;
}

.empty-workouts {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

/* Completion Modal Styles */
.completion-modal {
    max-width: 500px;
    text-align: center;
}

.completion-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.completion-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
}

.completion-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0 0 8px 8px;
}

.celebration-content {
    padding: 20px;
}

.celebration-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.celebration-content h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.completion-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 16px;
}

.stat-label {
    font-weight: normal;
}

.stat-value {
    font-weight: bold;
    color: #ffd700;
}

.completion-message {
    font-size: 18px;
    margin: 20px 0;
    font-style: italic;
    opacity: 0.9;
}

.completion-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.completion-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.completion-actions .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Update notification styles */
.update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
    max-width: 350px;
    animation: slideInRight 0.3s ease-out;
}

.update-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.update-message {
    font-weight: 500;
    line-height: 1.4;
}

.update-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .buttons {
        flex-direction: column;
    }

    .exercise-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .exercise-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }

    .current-exercise-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .current-exercise-image {
        width: 100px;
        height: 100px;
    }

    .current-exercise-details {
        text-align: center;
    }

    .timer-section {
        padding: 20px;
    }

    .exercise-actions {
        align-self: stretch;
        justify-content: center;
    }

    .exercise-actions .btn {
        flex: 1;
        min-width: 50px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .timer span {
        font-size: 36px;
    }

    .current-exercise h3 {
        font-size: 20px;
    }

    .timer-controls {
        gap: 5px;
    }

    .timer-controls .btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .workout-header {
        flex-direction: column;
        align-items: stretch;
    }

    .workout-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .workout-controls .btn {
        flex: 1;
        min-width: 120px;
    }

    .celebration-icon {
        font-size: 60px;
    }

    .celebration-content h3 {
        font-size: 24px;
    }

    .completion-actions {
        flex-direction: column;
        gap: 10px;
    }

    .completion-actions .btn {
        width: 100%;
    }

    .header-title-section {
        flex-direction: row;
        justify-content: center;
        position: relative;
    }

    .toggle-header-btn {
        position: absolute;
        right: 0;
        margin-left: 0;
    }

    .wake-lock-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 13px;
    }

    .close-notice {
        align-self: flex-end;
        padding: 0;
    }

    .update-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .update-actions {
        justify-content: center;
    }
}