/* Layout Styles - Common for all pages with sidebar */

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Responsive */
/* 13-14" Laptop optimization */
@media (max-width: 1440px) {
    .main-content {
        margin-left: 260px;
        padding: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 1.85rem;
    }
}

@media (max-width: 1366px) {
    .main-content {
        margin-left: 240px;
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 220px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* Footer Styles */
.app-footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2.5rem 2rem;
    margin-left: 280px;
    position: relative;
}

.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.5), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 2rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.footer-center {
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-copyright .heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-author {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.footer-version {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.6);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-github {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-github::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.footer-github:hover::before {
    width: 300px;
    height: 300px;
}

.footer-github:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.footer-github svg {
    flex-shrink: 0;
    stroke: #a855f7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-github span {
    position: relative;
    z-index: 1;
}

.footer-github:hover svg {
    stroke: #c084fc;
    transform: rotate(360deg);
}

/* Responsive Footer */
@media (max-width: 1440px) {
    .app-footer {
        margin-left: 260px;
        padding: 2.25rem 1.75rem;
    }
}

@media (max-width: 1366px) {
    .app-footer {
        margin-left: 240px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .app-footer {
        margin-left: 220px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left {
        justify-content: center;
    }
    
    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-footer {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-github {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}
