:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #06d6a0;
    --header-color: #09092d;
    --header-color-variant: #6576a3;

    --gradient-header: linear-gradient(135deg, #4158D0, #C850C0, #FFCC70);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 8px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* ===== LOGIN PAGE STYLES (PRESERVED) ===== */
body.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("../img/bg-login.jpg");
    background-size: cover;
    background-position: center;
    margin: 0;
}

section.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid lightslategrey;
    border-radius: 15px;
    margin: auto;
}

section.login form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

section.login input[type="text"],
section.login input[type="password"] {
    border: 1px solid lightslategrey;
    border-radius: 5px;
    width: 100%;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    text-align: center;
}

section.login .btn {
    width: 100%;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    cursor: pointer;
    background-color: #06d6a0;
    border: 1px solid #10b981;
    color: #185742;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

section.login .btn:hover {
    background-color: #10b981;
}

/* ===== MODERN ADMIN LAYOUT ===== */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* ===== NAVIGATION SIDEBAR ===== */
nav {
    width: 280px;
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

nav ul li.title {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

nav ul li.nav-item {
    margin: 0.25rem 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

nav ul li.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

nav ul li.nav-item a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: block;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li.nav-item a:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

nav ul li.nav-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #60a5fa;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

nav ul li.nav-item a:hover::before {
    transform: scaleY(1);
}

/* ===== MAIN CONTENT AREA ===== */
section:not(.login) {
    margin-left: 280px;
    padding: 2rem;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px 0 0 0;
    margin-top: 0;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard h1 {
    font-size: 3rem;
    font-weight: 800;
    background: #c8e7ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
}

.welcome-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dashboard-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== MODERN BUTTONS ===== */
.btn-primary, .btn-success, .btn-secondary, .btn-warning, .btn-danger {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(107, 114, 128, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 114, 128, 0.6);
}

.btn-success {
    background: linear-gradient(135deg, #85f887 0%, #1daf4c 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(126, 234, 102, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(126, 234, 102, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.4);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.6);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}



/* ===== STATISTICS SECTION ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    will-change: transform;
}

.stat-item:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: scale(1.03);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== RECENT ACTIVITY ===== */
.recent-activity {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.recent-activity h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    text-align: center;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid transparent;
    border-image: linear-gradient(135deg, #667eea, #764ba2) 1;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.activity-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateX(8px);
}

.activity-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.activity-desc {
    color: #1e293b;
    font-weight: 500;
    font-size: 1rem;
}

/* ===== CARDS PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-projects {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    will-change: transform;
    position: relative;
}

.card-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
    z-index: 2;
}

.card-projects:hover::before {
    transform: scaleX(1);
}

.card-projects:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-title {
    height: 150px;
    background: linear-gradient(135deg, #b3ea66 0%, #3193a4 100%);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-projects:hover .card-title::after {
    opacity: 1;
}

.card-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    padding: 1rem;
    z-index: 1;
    position: relative;
}

.card-projects > h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    font-weight: 700;
}

.card-projects > p {
    color: #64748b;
    line-height: 1.6;
    margin: 0 1.5rem 1rem 1.5rem;
    font-size: 0.95rem;
}

.card-projects > p:last-of-type {
    margin-bottom: 1.5rem;
}

.card-projects > p strong {
    color: #1e293b;
    font-weight: 600;
}

.card-projects .btn {
    margin: 0 1.5rem 1.5rem 1.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.card-projects .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem;
}

.card-projects .action-btn {
    margin: 0.5rem;
}

span.tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* ===== PROJECT ACTIONS ===== */
.projects-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.projects-actions h1 {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.projects-actions .btn-success {
    flex-shrink: 0;
}

/* ===== PROJECT FORM STYLES ===== */
.form-project {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.form-project.hidden {
    display: none;
}

.form-project form {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: #1e293b;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.form-group textarea {
    min-height: 120px;
    max-height: 300px;
    line-height: 1.6;
}

/* Styles pour les formulaires */
.form-help {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
    font-style: italic;
    display: block;
}

/* Form responsive design */
@media (max-width: 768px) {
    .form-project {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 16px;
    }
    
    .form-project form {
        gap: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    nav {
        transform: translateX(-100%);
    }
    
    nav.open {
        transform: translateX(0);
    }
    
    section {
        margin-left: 0;
        padding: 1rem;
    }
    
    .dashboard h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard h1 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-item {
        padding: 1rem;
    }
    
    .activity-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    section {
        padding: 0.5rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, btn-success, .btn-secondary, .btn-danger {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

.hidden {
    display: none;
}

/* ===== TECHNOLOGIES MANAGER STYLES ===== */
.technologies-grid {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.tech-controls {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-search {
    position: relative;
    margin-bottom: 1rem;
}

.tech-search input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
}

.tech-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1.1rem;
}

.tech-quick-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn-quick {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-quick:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.selected-count {
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.count-empty {
    color: var(--gray-color);
    background: #f8f9fa;
}

.count-low {
    color: #ffc107;
    background: #fff3cd;
}

.count-medium {
    color: #28a745;
    background: #d1edda;
}

.count-high {
    color: #dc3545;
    background: #f8d7da;
}

.tech-categories {
    display: grid;
    gap: 1rem;
}

.tech-category {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.tech-category:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all var(--transition-speed);
}

.category-header:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.category-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.category-toggle {
    font-size: 1.2rem;
    transition: transform var(--transition-speed);
}

.category-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
    background: #fafbfc;
}

.tech-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 2px solid transparent;
}

.tech-item:hover {
    background: #e3f2fd;
    transform: translateY(-1px);
}

.tech-checkbox {
    margin-right: 0.5rem;
    transform: scale(1.2);
    cursor: pointer;
}

.tech-checkbox:checked + .tech-label {
    color: var(--primary-color);
    font-weight: 600;
}

.tech-item:has(.tech-checkbox:checked) {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(58, 134, 255, 0.2);
}

.tech-label {
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    flex: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .category-items {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.3rem;
        padding: 0.5rem;
    }
    
    .tech-item {
        padding: 0.3rem;
    }
    
    .tech-quick-actions {
        justify-content: center;
    }
    
    .btn-quick {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .category-items {
        grid-template-columns: 1fr;
    }
    
    .tech-quick-actions {
        flex-direction: column;
    }
    
    .category-header {
        padding: 0.75rem;
    }
    
    .category-header h4 {
        font-size: 0.9rem;
    }
}

/* ===== ANIMATIONS ===== */
.tech-item {
    animation: fadeInUp 0.3s ease-out;
}

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

.tech-category {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== DARK THEME SUPPORT ===== */
.dark-theme .technologies-grid {
    background: #2d2d2d;
    border-color: #444;
}

.dark-theme .tech-controls {
    background: #3a3a3a;
}

.dark-theme .tech-search input {
    background: #2d2d2d;
    border-color: #555;
    color: #e0e0e0;
}

.dark-theme .tech-item {
    background: #3a3a3a;
    color: #e0e0e0;
}

.dark-theme .tech-item:hover {
    background: #4a4a4a;
}

.dark-theme .category-items {
    background: #2d2d2d;
}