:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary: #06d6a0;
    --accent: #f59e0b;
    --dark: #1e293b;
    --darker: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    min-height: auto;
    height: auto;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    animation: none;
}

.grid-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vmax;
    height: 100vmax;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: none;
}

.grid-orbit:nth-child(2) {
    width: 80vmax;
    height: 80vmax;
}

.grid-orbit:nth-child(3) {
    width: 60vmax;
    height: 60vmax;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: none;
}

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

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 12px 0;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mobile-back-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--light);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-header-title {
    flex: 1;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.mobile-logo .logo-icon {
    height: 28px;
    width: auto;
}

.mobile-logo .logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--light);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1999;
}

.mobile-profile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--dark);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-profile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    background: var(--darker);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.mobile-user-name {
    font-weight: 600;
    color: var(--light);
    font-size: 16px;
    margin-bottom: 2px;
}

.mobile-user-email {
    color: var(--gray);
    font-size: 12px;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: transparent;
    color: var(--light);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px;
    background: var(--darker);
}

.mobile-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
}

.mobile-stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.mobile-stat-label {
    font-size: 0.75rem;
    color: var(--gray-light);
    font-weight: 500;
}

.mobile-profile-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
}

.mobile-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-nav-badge {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.mobile-nav-item.mobile-nav-danger {
    color: var(--danger);
}

.mobile-nav-item.mobile-nav-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.mobile-menu-actions {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

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

.mobile-profile-container {
    display: none;
    padding: 120px 0 80px;
}

.mobile-tabs-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    z-index: 100;
    padding: 10px 0;
    backdrop-filter: blur(20px);
    display: none;
}

.mobile-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 12px;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    flex: 1;
    max-width: 100px;
}

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

.mobile-tab i {
    font-size: 20px;
    margin-bottom: 4px;
}

.mobile-tab-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.mobile-tab-content {
    display: none;
}

.mobile-tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.mobile-other-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.mobile-other-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.mobile-other-actions .btn-outline-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.mobile-other-actions .btn-outline-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #f87171;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.mobile-other-actions .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.mobile-other-actions .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

#mobile-other-tab {
    padding: 20px 0;
}

.btn-danger {
    background: var(--danger);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.btn-outline-danger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-outline-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
}

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

.mobile-tab-header {
    margin-bottom: 30px;
}

.mobile-tab-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-tab-header h2 i {
    color: var(--primary);
}

.mobile-tab-header p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.mobile-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.mobile-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 600;
    font-size: 14px;
}

.mobile-form-group label i {
    color: var(--primary);
    width: 16px;
}

.mobile-form-group input,
.mobile-form-group select {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--light);
    font-size: 16px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.mobile-form-group input:focus,
.mobile-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mobile-form-group input::placeholder {
    color: var(--gray);
}

.mobile-form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.mobile-security-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-security-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 20px;
}

.mobile-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-section-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.mobile-section-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 4px;
}

.mobile-section-content p {
    color: var(--gray-light);
    font-size: 13px;
}

.mobile-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: var(--transition);
}

.mobile-session-item.current {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.mobile-session-info {
    flex: 1;
}

.mobile-session-device {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 4px;
    font-size: 14px;
}

.mobile-session-device i {
    color: var(--primary);
    width: 16px;
}

.mobile-session-location {
    color: var(--gray-light);
    font-size: 12px;
    margin-bottom: 2px;
}

.mobile-session-time {
    color: var(--gray);
    font-size: 11px;
}

.mobile-session-status {
    color: var(--success);
    font-weight: 600;
    font-size: 12px;
}

.mobile-session-action {
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    background: transparent;
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-session-action:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: var(--danger);
}

.mobile-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.mobile-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-projects-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-projects-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-projects-loading i {
    font-size: 2rem;
    color: var(--primary);
}

.mobile-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.mobile-project-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.mobile-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.mobile-project-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

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

.mobile-project-action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-project-action-btn:hover {
    background: var(--primary);
    color: white;
}

.mobile-project-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
}

.mobile-project-description {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mobile-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-project-date {
    color: var(--gray);
    font-size: 12px;
}

.mobile-project-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.mobile-status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.mobile-status-draft {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.mobile-empty-projects {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-light);
}

.mobile-empty-projects i {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 20px;
    opacity: 0.5;
}

.mobile-empty-projects h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--light);
}

.mobile-empty-projects p {
    margin-bottom: 30px;
    font-size: 1rem;
}

.desktop-profile-container {
    display: block;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.grid-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vmax;
    height: 100vmax;
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 60s linear infinite;
}

.grid-orbit:nth-child(2) {
    width: 80vmax;
    height: 80vmax;
    animation-duration: 45s;
    animation-direction: reverse;
}

.grid-orbit:nth-child(3) {
    width: 60vmax;
    height: 60vmax;
    animation-duration: 30s;
}

@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    top: 30%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.glass-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.logo-wrapper:hover {
    opacity: 0.8;
}

.logo-icon {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    color: var(--light);
    border-color: var(--light);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-modern {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline-modern.danger {
    color: var(--danger);
    border-color: var(--danger);
}

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

.btn-danger {
    background: var(--danger);
    color: var(--light);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-modern-container {
    padding: 20px 0 0;
}

.profile-modern-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-modern-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.user-card-modern {
    text-align: center;
    margin-bottom: 30px;
}

.user-avatar-modern-large {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.avatar-content {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--dark);
}

.avatar-status.online {
    background: var(--success);
}

.user-info-modern {
    margin-bottom: 25px;
}

.user-name-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 5px;
}

.user-email-modern {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.user-stats-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-light);
    font-weight: 500;
}

.profile-nav-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-item-modern::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: var(--transition-slow);
}

.nav-item-modern:hover::before {
    left: 100%;
}

.nav-item-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
}

.nav-item-modern.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.nav-item-modern.danger {
    color: var(--danger);
}

.nav-item-modern.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-text {
    flex: 1;
    font-weight: 500;
}

.nav-badge {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.nav-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.nav-item-modern.active .nav-indicator {
    opacity: 1;
}

.profile-modern-main {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 40px;
}

.profile-tab-modern {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.profile-tab-modern.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.tab-title-section {
    flex: 1;
}

.tab-title-modern {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-title-modern i {
    font-size: 1.8rem;
    color: var(--primary);
}

.tab-subtitle {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.tab-actions {
    display: flex;
    gap: 12px;
}

.profile-form-modern {
    max-width: 800px;
}

.form-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group-modern {
    margin-bottom: 24px;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-label-modern i {
    color: var(--primary);
    width: 16px;
}

.form-input-modern,
.form-select-modern {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input-modern:focus,
.form-select-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input-modern::placeholder {
    color: var(--gray);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 6px;
}

.security-sections-modern {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
}

.security-section-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.security-section-modern:hover {
    border-color: var(--glass-border);
}

.section-header-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.section-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 4px;
}

.section-content p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.sessions-container-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: var(--transition);
}

.session-item-modern:hover {
    border-color: var(--glass-border);
}

.session-item-modern.current {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.session-info {
    flex: 1;
}

.session-device {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 4px;
}

.session-device i {
    color: var(--primary);
    width: 16px;
}

.session-location {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.session-time {
    color: var(--gray);
    font-size: 0.8rem;
}

.session-status {
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

.session-action {
    font-size: 0.9rem;
    padding: 8px 16px;
}

.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.project-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: var(--transition-slow);
}

.project-card-modern:hover::before {
    left: 100%;
}

.project-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.project-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-icon-modern {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

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

.action-btn-modern {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-title-modern {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 8px;
}

.project-description-modern {
    color: var(--gray-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-meta-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-date-modern {
    color: var(--gray);
    font-size: 0.875rem;
}

.project-status-modern {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

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

.projects-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.projects-loading i {
    font-size: 2rem;
    color: var(--primary);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-modern {
    background: var(--dark);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-modern.danger {
    border-color: rgba(239, 68, 68, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.modal-header-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-header-modern i {
    font-size: 1.5rem;
    color: var(--primary);
}

.modal-header-modern h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.modal-content-modern {
    margin-bottom: 30px;
}

.modal-content-modern p {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-actions-modern {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s ease-out;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

.toast.info {
    background: var(--info);
}

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


@media (max-width: 1024px) {
    .profile-modern-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-modern-sidebar {
        position: static;
    }
    
    .form-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-profile-container {
        display: none !important;
    }

    .mobile-header {
        display: block !important;
    }

    .mobile-profile-container {
        display: block;
    }

    .mobile-tabs-container {
        display: block;
    }
    
    .profile-modern-container {
        padding: 100px 0 40px;
    }
    
    .profile-modern-main {
        padding: 30px 20px;
    }
    
    .tab-header-modern {
        flex-direction: column;
        gap: 20px;
    }
    
    .tab-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .session-item-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .session-action {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .profile-modern-sidebar {
        padding: 20px;
    }
    
    .user-stats-modern {
        grid-template-columns: 1fr;
    }
    
    .modal-modern {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-actions-modern {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-tab {
        font-size: 11px;
    }
    
    .mobile-tab i {
        font-size: 18px;
    }
    
    .mobile-form-group input,
    .mobile-form-group select {
        padding: 14px;
        font-size: 15px;
    }
    
    .mobile-security-section {
        padding: 15px;
    }
    
    .mobile-section-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .mobile-project-card {
        padding: 15px;
    }
}

.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.profile-modern-main::-webkit-scrollbar {
    width: 6px;
}

.profile-modern-main::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.profile-modern-main::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.profile-modern-main::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.btn:focus,
.form-input-modern:focus,
.form-select-modern:focus,
.mobile-form-group input:focus,
.mobile-form-group select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-profile-menu.active {
    animation: slideInRight 0.3s ease-out;
}

.mobile-profile-menu:not(.active) {
    animation: slideOutRight 0.3s ease-out;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .mobile-tab-header h2 {
        font-size: 1.3rem;
    }
    
    .mobile-section-content h4 {
        font-size: 15px;
    }
    
    .mobile-project-title {
        font-size: 15px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    .mobile-nav-item,
    .mobile-tab,
    .mobile-session-action,
    .mobile-project-action-btn {
        min-height: 44px;
    }
    
    .mobile-form-group input,
    .mobile-form-group select {
        min-height: 50px;
    }
    
    .mobile-back-btn,
    .mobile-menu-btn,
    .mobile-menu-close {
        min-width: 44px;
        min-height: 44px;
    }
}

.footer-modern {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.6;
}

.social-links-modern {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.link-group h4 {
    color: var(--light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 8px;
}

.link-group a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--light);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-light);
}

.contact-list i {
    width: 16px;
    color: var(--primary);
}

.input-group {
    display: flex;
    margin-top: 8px;
}

.input-group input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: var(--light);
    font-size: 14px;
}

.input-group input::placeholder {
    color: var(--gray);
}

.input-group button {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.input-group button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--light);
}

.copyright {
    text-align: right;
    color: var(--gray);
    font-size: 14px;
}

.copyright .made-with-love {
    margin-top: 8px;
}

.copyright .made-with-love i {
    color: var(--danger);
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 50px 0 0;
        margin-top: 50px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 12px;
    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 40px 0 0;
        margin-top: 40px;
    }
}