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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fce7f3 0%, #ffffff 50%, #fef3f2 100%);
    min-height: 100vh;
    color: #374151;
}

.hidden {
    display: none !important;
}

/* Login Screen */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.login-header h1 {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-header p {
    color: #6b7280;
    font-size: 16px;
}

.demo-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #6b7280;
    font-size: 14px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 114, 128, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: #ec4899;
    text-decoration: none;
    font-weight: 600;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    color: #6b7280;
    font-size: 14px;
}

/* Main Application */
.main-app {
    display: flex;
    min-height: 100vh;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 20px;
    color: #ec4899;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid #f3e8ff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-header .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text h1 {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo-text p {
    color: #6b7280;
    font-size: 14px;
}

.sidebar-nav {
    padding: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: #fdf2f8;
    color: #ec4899;
}

.nav-item.active {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.nav-item i {
    font-size: 20px;
    width: 20px;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: 12px;
    border: 1px solid #f3e8ff;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    transition: margin-left 0.3s ease;
}

.page {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.page.active {
    display: block;
}

.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 10px;
}

.page-header p {
    color: #6b7280;
    font-size: 18px;
}

/* Dashboard */
.welcome-section {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.2);
}

.welcome-section h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.welcome-section p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.achievement-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

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

.stat-header i {
    font-size: 32px;
    color: #ec4899;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
}

.stat-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.stat-card p {
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.activities-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.activities-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.activity-list {
    margin-bottom: 30px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: #f3f4f6;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.activity-icon.video {
    background: #8b5cf6;
}

.activity-icon.exercise {
    background: #3b82f6;
}

.activity-info {
    flex: 1;
}

.activity-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.activity-info p {
    color: #6b7280;
    font-size: 14px;
}

.activity-status {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
}

.start-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.view-calendar-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quick-actions > div {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quick-actions h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

.quick-action.videos {
    background: #f3e8ff;
    color: #7c3aed;
}

.quick-action.exercises {
    background: #dbeafe;
    color: #2563eb;
}

.quick-action.progress {
    background: #dcfce7;
    color: #16a34a;
}

.quick-action:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.motivational-quote {
    text-align: center;
}

.motivational-quote h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.motivational-quote p {
    color: #6b7280;
    font-style: italic;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    margin-bottom: 40px;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-header i {
    color: #6b7280;
    font-size: 20px;
}

.filter-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #fdf2f8;
    border-color: #f3e8ff;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    border-color: #ec4899;
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail::before {
    opacity: 1;
}

.play-overlay {
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ec4899;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-watched {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-content {
    padding: 20px;
}

.video-badges {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.difficulty-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.difficulty-badge.beginner {
    background: #dcfce7;
    color: #166534;
}

.difficulty-badge.intermediate {
    background: #fef3c7;
    color: #92400e;
}

.category-badge {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-transform: capitalize;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.watch-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.mark-watched-btn {
    padding: 12px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-watched-btn.watched {
    background: #dcfce7;
    color: #166534;
}

.mark-watched-btn:hover {
    background: #e5e7eb;
}

/* Exercises */
.exercise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.exercise-stat {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.exercise-stat i {
    font-size: 24px;
    color: #ec4899;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.exercise-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.exercise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.exercise-card.completed {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
}

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

.exercise-category {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exercise-emoji {
    font-size: 24px;
}

.exercise-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.exercise-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.exercise-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6b7280;
}

.exercise-detail i {
    font-size: 16px;
    width: 16px;
}

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

.start-exercise-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.start-exercise-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.complete-btn {
    padding: 12px;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.complete-btn.completed {
    background: #dcfce7;
    color: #166534;
}

/* Progress Page */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.progress-stat {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-stat i {
    font-size: 32px;
    color: #ec4899;
}

.trophy {
    font-size: 32px;
}

.progress-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.charts-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chart-container h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.chart-container canvas {
    max-height: 300px;
}

.tracking-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobility-chart,
.daily-tracking,
.achievement-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.mobility-chart {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobility-score .score {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
}

.mobility-score .label {
    font-size: 14px;
    color: #6b7280;
}

.daily-tracking h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.slider-group {
    margin-bottom: 20px;
}

.slider-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.slider-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ec4899;
    cursor: pointer;
}

.slider-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ec4899;
    cursor: pointer;
    border: none;
}

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

.comment-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.comment-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    height: 80px;
    transition: border-color 0.3s ease;
}

.comment-group textarea:focus {
    outline: none;
    border-color: #ec4899;
}

.submit-feedback-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.achievement-card {
    text-align: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fdf2f8 100%);
    border: 1px solid #f3e8ff;
}

.achievement-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.achievement-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.achievement-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Calendar */
.calendar-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.calendar-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-weekday {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-day {
    min-height: 80px;
    padding: 10px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.calendar-day:hover {
    background: #fdf2f8;
}

.calendar-day.today {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 600;
}

.calendar-day.selected {
    background: #fce7f3;
    border-color: #ec4899;
    box-shadow: inset 0 0 0 2px #ec4899;
}

.calendar-day.other-month {
    background: #f9fafb;
    color: #9ca3af;
}

.day-number {
    font-size: 14px;
    margin-bottom: 5px;
}

.day-activities {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
    margin-bottom: 5px;
}

.activity-count {
    font-size: 10px;
    color: #6b7280;
    text-align: center;
}

.calendar-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.selected-date,
.weekly-summary,
.quick-actions-calendar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.selected-date h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.date-activity {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 10px;
}

.date-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.date-activity-icon.video {
    background: #8b5cf6;
}

.date-activity-icon.exercise {
    background: #3b82f6;
}

.date-activity-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.date-activity-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
}

.date-activity-completed {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #10b981;
    margin-left: 10px;
}

.no-activities {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.no-activities i {
    font-size: 48px;
    opacity: 0.5;
    margin-bottom: 15px;
}

.summary-stats {
    margin-bottom: 20px;
}

.summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-stat .stat-value {
    font-weight: 600;
    color: #1f2937;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
    transition: width 0.5s ease;
}

.weekly-summary p {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.quick-action-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 8px;
}

.quick-action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form-section,
.faq-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form-section h2,
.faq-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ec4899;
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.priority-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.priority-btn {
    padding: 10px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.priority-btn:hover {
    background: #f9fafb;
}

.priority-btn.active.baixa {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.priority-btn.active.normal {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.priority-btn.active.alta {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.send-message-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.send-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

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

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px;
    background: #f9fafb;
    cursor: pointer;
    font-weight: 500;
    color: #1f2937;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background: #f3f4f6;
}

.faq-item[open] summary {
    background: #fdf2f8;
    color: #ec4899;
}

.faq-item p {
    padding: 15px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.physiotherapist-profile,
.contact-options,
.emergency-notice {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.physiotherapist-profile {
    text-align: center;
}

.physiotherapist-profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.physiotherapist-profile h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.physiotherapist-profile p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 5px;
}

.crefito {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-bottom: 15px !important;
}

.experience {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

.specialties span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 10px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.specialty-tag {
    background: #fce7f3;
    color: #be185d;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.schedule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}

.schedule i {
    color: #6b7280;
    margin-top: 2px;
}

.schedule span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 5px;
}

.schedule p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.contact-options h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.contact-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    text-align: left;
}

.contact-option:hover {
    background: #f9fafb;
}

.contact-option.whatsapp i {
    background: #10b981;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-option.phone i {
    background: #3b82f6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-option.email i {
    background: #8b5cf6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-option span {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    display: block;
}

.contact-option small {
    font-size: 14px;
    color: #6b7280;
}

.emergency-notice {
    background: linear-gradient(135deg, #fef2f2 0%, #fdf2f8 100%);
    border: 1px solid #fecaca;
    text-align: center;
}

.emergency-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.emergency-notice h3 {
    font-size: 18px;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 10px;
}

.emergency-notice p {
    font-size: 14px;
    color: #7f1d1d;
    line-height: 1.5;
    margin-bottom: 20px;
}

.emergency-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.emergency-btn:hover {
    background: #dc2626;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-content,
    .progress-content,
    .calendar-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .charts-section {
        order: 2;
    }
    
    .tracking-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        padding-top: 80px;
    }
    
    .stats-grid,
    .exercise-stats,
    .progress-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid,
    .exercises-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-section {
        padding: 30px 20px;
    }
    
    .welcome-section h1 {
        font-size: 28px;
    }
    
    .achievement-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        text-align: center;
    }
    
    .calendar-grid {
        font-size: 14px;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 5px;
    }
    
    .priority-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid,
    .exercise-stats,
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .main-content {
        padding: 15px;
        padding-top: 70px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .welcome-section {
        padding: 20px 15px;
    }
    
    .welcome-section h1 {
        font-size: 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.success-message {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease-out;
}
