/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===== LOGIN PAGE ===== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px;
}

.login-container {
    max-width: 450px;
    width: 100%;
}

.login-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 5px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
}

.demo-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    color: var(--white);
}

.demo-info h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.demo-account {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-icon {
    padding: 8px;
    border-radius: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--light);
    color: var(--primary);
}

.btn-group {
    display: flex;
    gap: 8px;
}

/* ===== LAYOUT ===== */
.container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 260px;
    margin-top: 70px;
    max-width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 20px;
    transition: all 0.3s;
}

.notification-btn:hover {
    background: var(--light);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-menu:hover {
    background: var(--light);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    width: 260px;
    height: calc(100vh - 70px);
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

.menu-link:hover,
.menu-link.active {
    background: var(--light);
    color: var(--primary);
    border-right: 3px solid var(--primary);
}

.menu-link i {
    font-size: 18px;
    width: 20px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.date-display {
    padding: 8px 15px;
    background: var(--light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--info);
}

/* ===== STATISTICS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.stat-warning .stat-icon {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
}

.stat-danger .stat-icon {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
}

.stat-info .stat-icon {
    background: linear-gradient(135deg, var(--info) 0%, #2563eb 100%);
}

.stat-revenue .stat-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.stat-attendance .stat-icon {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.stat-content h3 {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.stat-link:hover {
    gap: 8px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.stats-inline {
    display: flex;
    gap: 20px;
    align-items: center;
}

.stats-inline .stat-item {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.stats-inline .stat-item i {
    font-size: 16px;
}

.stats-inline .stat-item strong {
    color: var(--text-primary);
}

.card-body {
    padding: 25px;
}

/* ===== TABLES ===== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--light);
}

.table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.table tbody tr:hover {
    background: var(--light);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-secondary);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-primary {
    background: #e0e7ff;
    color: #3730a3;
}

/* ===== KANBAN BOARD ===== */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background: var(--light);
    border-radius: 12px;
    min-width: 280px;
    max-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
}

.kanban-header {
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border);
}

.kanban-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kanban-cards {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

.kanban-card {
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px var(--shadow);
    cursor: move;
    transition: all 0.3s;
}

.kanban-card:hover {
    box-shadow: 0 4px 12px var(--shadow);
    transform: translateY(-2px);
}

.kanban-card h4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.card-header-small,
.card-footer-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-footer-small {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.priority-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-urgent {
    background: #fee2e2;
    color: #991b1b;
}

.priority-high {
    background: #fef3c7;
    color: #92400e;
}

.priority-medium {
    background: #dbeafe;
    color: #1e40af;
}

.priority-low {
    background: #d1fae5;
    color: #065f46;
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--white);
    font-weight: bold;
    transition: width 0.3s;
}

.card-members {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.empty-column {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-column i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.3;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close,
.close-btn {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close:hover,
.close-btn:hover {
    color: var(--danger);
}

.modal-form {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: var(--light);
}

/* ===== IDEAS & PRODUCTS ===== */
.ideas-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.idea-card,
.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s;
}

.idea-card:hover,
.product-card:hover {
    box-shadow: 0 8px 20px var(--shadow);
    transform: translateY(-5px);
}

.idea-header,
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.idea-header h3,
.product-header h3 {
    font-size: 18px;
    color: var(--dark);
    flex: 1;
}

.idea-category,
.product-category {
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.idea-description,
.product-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.idea-meta {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.idea-meta strong {
    color: #1e293b;
    display: block;
    margin-bottom: 6px;
}

.idea-meta p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.idea-footer,
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.idea-notes {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.idea-notes.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success);
}

.idea-notes.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger);
}

.idea-submitter,
.product-team {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price {
    font-size: 18px;
    color: var(--primary);
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

/* ===== RANKINGS ===== */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
}

.rank-1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--white);
}

.rank-2 {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: var(--white);
}

.rank-3 {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    color: var(--white);
}

.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.team-badge {
    padding: 4px 10px;
    background: var(--light);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-primary);
}

/* ===== ATTENDANCE ===== */
.attendance-today {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 30px;
    text-align: center;
}

.attendance-today h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.attendance-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.clock-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.clock-info i {
    font-size: 32px;
}

.attendance-actions {
    margin-top: 20px;
}

/* ===== DASHBOARD ===== */
.dashboard-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.activity-list,
.notification-list,
.project-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item,
.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
    transition: all 0.3s;
}

.activity-item:hover,
.notification-item:hover {
    background: #e2e8f0;
}

.activity-icon,
.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.activity-icon {
    background: var(--primary);
    color: var(--white);
}

.notif-icon {
    font-size: 16px;
}

.notif-success {
    background: #d1fae5;
    color: var(--success);
}

.notif-warning {
    background: #fef3c7;
    color: var(--warning);
}

.notif-error {
    background: #fee2e2;
    color: var(--danger);
}

.notif-info {
    background: #dbeafe;
    color: var(--info);
}

.activity-content,
.notif-content {
    flex: 1;
}

.activity-content strong,
.notif-content strong {
    display: block;
    margin-bottom: 5px;
}

.activity-desc,
.notif-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 5px 0;
}

.notification-item.unread {
    background: #e0e7ff;
    border-left: 3px solid var(--primary);
}

.project-item {
    padding: 15px;
    background: var(--light);
    border-radius: 8px;
    margin-bottom: 10px;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-info h4 {
    font-size: 16px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===== UTILITY CLASSES ===== */
.mt-4 { margin-top: 30px; }
.mb-4 { margin-bottom: 30px; }
.ml-2 { margin-left: 10px; }

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: var(--text-secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sortable-ghost {
    opacity: 0.4;
}

.sortable-drag {
    cursor: move;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .kanban-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
    }
    
    .ideas-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
