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

:root {
    --primary: #E91E8A;
    --primary-light: #FF69B4;
    --primary-dark: #C41574;
    --bg-dark: #0c0c14;
    --bg-card: #12121c;
    --bg-sidebar: #0f0f18;
    --bg-input: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --border: #2a2a3a;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
}

#app {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.logo {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-item {
    display: block;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    /*background: var(--primary);*/
    color: var(--text-primary);
}

.nav-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-item .submenu-icon {
    margin-left: auto;
    margin-right: 0;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-item.has-submenu.open .submenu-icon {
    transform: rotate(180deg);
}

.nav-link {
    display: flex;
    align-items: center;
    width: 100%;
}

.submenu {
    display: none;
    padding-left: 36px;
    margin-top: 4px;
}

.nav-item.has-submenu.open .submenu {
    display: block;
}

.submenu-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 2px;
}

.submenu-link:hover, .submenu-link.active {
    background: rgba(233, 30, 138, 0.2);
    color: var(--primary);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    width: 320px;
}

.search-box i {
    color: var(--text-muted);
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box .shortcut {
    background: var(--border);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

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

.header-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-btn:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.notification-btn {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    position: relative;
}

.user-menu:hover {
    background: var(--bg-input);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 160px;
    margin-top: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown a:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 24px;
}

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

.page-title {
    font-size: 24px;
    font-weight: 600;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Card */
.card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 24px;
}

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

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.table-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-controls-left span {
    color: var(--text-secondary);
    font-size: 14px;
}

.table-controls-left select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.table-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
}

.search-input i {
    color: var(--text-muted);
    margin-right: 8px;
}

.search-input input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    width: 180px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
}

.btn-icon:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

/* Table */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: rgba(233, 30, 138, 0.05);
}

.table-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.status-active {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.actions-cell {
    display: flex;
    gap: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

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

.pagination-buttons {
    display: flex;
    gap: 8px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover, .pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
}

.login-modal {
    padding: 40px;
    text-align: center;
}

.login-logo {
    width: 200px;
    margin-bottom: 24px;
}

.login-modal h2 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.login-error {
    color: var(--error);
    margin-top: 16px;
    font-size: 14px;
}

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
}

#modalFormContent {
    padding: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Profile Page */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.profile-info h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

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

.profile-actions {
    margin-left: auto;
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }
    
    .search-box {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .page-content {
        padding: 16px;
    }
    
    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        margin-left: 0;
        margin-top: 16px;
    }
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}


/* ==================== CLIENT DETAIL NEW STYLES ==================== */

.back-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-link-inline:hover {
    color: var(--primary);
}

.back-link-inline i {
    font-size: 12px;
}

.card-body {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.client-info-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 24px;
}

.client-info-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.client-role-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 20px 24px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

/* Tabs New Style */
.tabs-container {
    margin: 24px 0 0 0;
    position: relative;
}

.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.tab-btn-new {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 16px 24px;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
    font-weight: 400;
}

.tab-btn-new:hover {
    color: var(--text-primary);
}

.tab-btn-new.active {
    color: var(--primary);
}

.tab-btn-new.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-content-container {
    margin-top: 24px;
}

.empty-profile-message {
    padding: 60px 24px;
    text-align: center;
}

.empty-profile-message p {
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .client-info-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn-new {
        padding: 12px 16px;
        font-size: 13px;
    }
}


/* ==================== VIDEO PAGE STYLES ==================== */

.info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    color: var(--info);
    font-size: 14px;
}

.info-banner i {
    font-size: 18px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--border);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.type-badge i {
    font-size: 10px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

/* Radio Group */
.radio-group {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;

/* ==================== FILE UPLOAD STYLES ==================== */

.file-upload-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-btn:hover {
    background: var(--border);
}

.file-name {
    color: var(--text-muted);
    font-size: 14px;
}

    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Form hint */
.form-hint {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.required {
    color: var(--error);
}

/* Info Note Box */
.info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    margin-top: 16px;
}

.info-note i {
    color: var(--info);
    font-size: 16px;
    margin-top: 2px;
}

.info-note span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Upload Progress */
#uploadProgressContainer {
    margin-top: 10px;
}

#uploadProgressBar {
    transition: width 0.3s ease;
}

/* Pagination Styles */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--border-light);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--background-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.pagination-info {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.table-footer {
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

/* Search Input Improvements */
.search-input input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 138, 0.1);
}

/* ==================== WORKOUT BUILDER STYLES ==================== */

.workout-builder-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-top: 20px;
}

.workout-days-section {
    background: var(--background-card);
    border-radius: 12px;
    padding: 20px;
}

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

.workout-days-section h3 {
    margin: 0;
    color: var(--text-primary);
}

.exercise-library-section {
    background: var(--background-card);
    border-radius: 12px;
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.exercise-library-section h3 {
    margin: 0 0 16px 0;
    color: var(--text-primary);
}

/* Workout Day Card */
.workout-day-card {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 16px;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px dashed var(--border-light);
}

.day-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.day-name-input {
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-weight: 500;
    width: 150px;
}

.exercise-count-badge {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.btn-text {
    background: none;
    border: none;
    color: var(--info);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-text:hover {
    text-decoration: underline;
}

.btn-icon-danger {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.day-exercises {
    padding: 16px;
    min-height: 80px;
}

.empty-day-message {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
}

/* Exercise Item in Day */
.exercise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 8px;
}

.exercise-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.exercise-info {
    flex: 1;
}

.exercise-name {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
}

.exercise-details {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

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

.btn-icon-sm {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--info);
    border-radius: 4px;
}

.btn-icon-sm:hover {
    background: rgba(59, 130, 246, 0.1);
}

.btn-icon-sm.danger {
    color: var(--error);
}

.btn-icon-sm.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Exercise Library */
.exercise-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    background: var(--background);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

.library-exercise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.library-exercise-item:hover {
    background: var(--background-light);
}

.exercise-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

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

.library-exercise-info {
    flex: 1;
}

.library-exercise-name {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.library-exercise-details {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* Form Row */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1;
}

/* Text Muted */
.text-muted {
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .workout-builder-container {
        grid-template-columns: 1fr;
    }
    
    .exercise-library-section {
        max-height: none;
    }
}

/* Day dropzone for exercises */
.empty-day-dropzone {
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-day-dropzone:hover {
    border-color: var(--primary);
    background: rgba(233, 30, 138, 0.05);
}

.empty-day-dropzone p {
    color: var(--text-muted);
    margin: 0;
}

/* Selected day highlight */
.workout-day-card.selected {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(233, 30, 138, 0.1);
}

/* Search select container */
.search-select-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-select-input {
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--background);
    color: var(--text-primary);
    font-size: 14px;
}

.search-select-input:focus {
    outline: none;
    border-color: var(--primary);
}


/* Notifications Page */
.notification-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.notification-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-form label {
    font-weight: 500;
    color: var(--text-primary);
}

.notification-form input,
.notification-form select,
.notification-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s;
}

.notification-form input:focus,
.notification-form select:focus,
.notification-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.notification-form .form-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.notification-form .form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

.quick-templates {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-templates .btn-outline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.quick-templates .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(233, 30, 138, 0.05);
}

@media (max-width: 768px) {
    .notification-form .form-row {
        grid-template-columns: 1fr;
    }
}
