/* ntrunkline.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 14px;
    opacity: 0.8;
}

.profile-section {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 0 auto 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 13px;
    opacity: 0.8;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    display: inline-block;
}

.nav-menu {
    padding: 20px 0;
}

.nav-item {
    padding: 12px 25px;
    margin: 5px 15px;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,0.1);
}

.nav-item i {
    width: 25px;
    margin-right: 10px;
}

.nav-item a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    display: block;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 30px;
    transition: all 0.3s;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.page-title h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title p {
    color: #666;
    font-size: 14px;
    margin: 5px 0 0;
}

/* Profile Card */
.profile-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.profile-header p {
    opacity: 0.9;
    font-size: 14px;
}

.profile-body {
    padding: 40px;
}

.section-title {
    font-size: 18px;
    color: #333;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #667eea;
}

.section-title:first-of-type {
    margin-top: 0;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group label i {
    color: #667eea;
    margin-right: 5px;
    width: 18px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.form-control[readonly] {
    background: #f5f5f5;
    cursor: not-allowed;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-button {
    background: #f0f0f0;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input-button:hover {
    background: #e0e0e0;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-name {
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}

.btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 30px;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item {
    text-align: center;
}

.info-item .label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

/* Add to your existing ntrunkline.css file */
/* Change Password Page Specific Styles */
.password-card {
    max-width: 600px;
    margin: 0 auto;
}

.password-strength {
    margin-top: 10px;
    height: 5px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
}

.strength-weak { background: #dc3545; }
.strength-medium { background: #ffc107; }
.strength-strong { background: #28a745; }

.password-requirements {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
}

.password-requirements i {
    width: 20px;
    margin-right: 5px;
}

.requirement-met {
    color: #28a745;
}

.requirement-unmet {
    color: #dc3545;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    z-index: 2;
}

.toggle-password:hover {
    color: #667eea;
}

.btn-change {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-change:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-change:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.info-note {
    background: #e7f3ff;
    color: #004085;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
    font-size: 14px;
}

.info-note i {
    color: #667eea;
    margin-right: 10px;
}

/* Password match message */
.password-match-msg {
    margin-top: 5px;
    font-size: 13px;
}

.password-match-msg.success {
    color: #28a745;
}

.password-match-msg.error {
    color: #dc3545;
}

/* Add to your existing ntrunkline.css file */

/* Dashboard Specific Styles */

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-text h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.welcome-text p {
    font-size: 16px;
    opacity: 0.9;
}

.welcome-stats {
    display: flex;
    gap: 30px;
}

.welcome-stat {
    text-align: center;
}

.welcome-stat .number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.welcome-stat .label {
    font-size: 14px;
    opacity: 0.9;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px;
}

.stat-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 30px;
    color: white;
}

/* Quick Actions */
.quick-actions {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.quick-actions h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.action-btn {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
    text-decoration: none;
    display: block;
}

.action-btn:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.1);
}

.action-btn i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.action-btn span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* Charts Row */
.charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.chart-header .badge {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.chart-container {
    position: relative;
    height: 250px;
}

/* Tables */
.table-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.table-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-header .badge {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-bottom: 2px solid #f0f0f0;
}

td {
    padding: 15px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f8f9fa;
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-open { background: #e3f2fd; color: #1976d2; }
.status-progress { background: #fff3e0; color: #f57c00; }
.status-resolved { background: #e8f5e9; color: #388e3c; }
.status-closed { background: #fafafa; color: #616161; }

/* Priority Badges */
.priority-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.priority-high { background: #ffebee; color: #c62828; }
.priority-medium { background: #fff8e1; color: #ff8f00; }
.priority-low { background: #e8f5e9; color: #2e7d32; }

/* Button View */
.btn-view {
    padding: 6px 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #667eea;
    color: white;
}

/* Activity List */
.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.activity-details {
    flex: 1;
}

.activity-details .time {
    font-size: 12px;
    color: #999;
}

/* Add to your existing ntrunkline.css file */

/* Tickets Page Specific Styles */

/* Status Cards */
.status-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.status-card {
    background: white;
    padding: 20px 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.status-card.active {
    border-color: #667eea;
    background: #f0f3ff;
}

.status-card .count {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 8px;
}

.status-card .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

/* Individual card colors - accent borders */
.status-card[data-status="all"] { border-top: 4px solid #667eea; }
.status-card[data-status="open"] { border-top: 4px solid #1976d2; }
.status-card[data-status="progress"] { border-top: 4px solid #f57c00; }
.status-card[data-status="resolved"] { border-top: 4px solid #388e3c; }
.status-card[data-status="closed"] { border-top: 4px solid #616161; }

/* Hover effects for each status */
.status-card[data-status="all"]:hover { background: #f0f3ff; }
.status-card[data-status="open"]:hover { background: #e3f2fd; }
.status-card[data-status="progress"]:hover { background: #fff3e0; }
.status-card[data-status="resolved"]:hover { background: #e8f5e9; }
.status-card[data-status="closed"]:hover { background: #f5f5f5; }

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-filter {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter:hover {
    background: #5a6fd8;
}

.btn-reset {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-reset:hover {
    background: #e0e0e0;
}

/* Tickets Table */
.tickets-table {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Add to your existing ntrunkline.css file */

/* Assigned Tickets Page Specific Styles */
.assignee-badge {
    background: #e8eaf6;
    color: #3f51b5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* Status Cards for Assigned Tickets - using same styles as tickets page */
.status-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.status-card {
    background: white;
    padding: 20px 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.status-card.active {
    border-color: #667eea;
    background: #f0f3ff;
}

.status-card .count {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 8px;
}

.status-card .label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

/* Individual card colors - accent borders */
.status-card[data-status="all"] { border-top: 4px solid #667eea; }
.status-card[data-status="open"] { border-top: 4px solid #1976d2; }
.status-card[data-status="progress"] { border-top: 4px solid #f57c00; }
.status-card[data-status="resolved"] { border-top: 4px solid #388e3c; }
.status-card[data-status="closed"] { border-top: 4px solid #616161; }

/* Hover effects for each status */
.status-card[data-status="all"]:hover { background: #f0f3ff; }
.status-card[data-status="open"]:hover { background: #e3f2fd; }
.status-card[data-status="progress"]:hover { background: #fff3e0; }
.status-card[data-status="resolved"]:hover { background: #e8f5e9; }
.status-card[data-status="closed"]:hover { background: #f5f5f5; }

/* Filter Bar - reuse from tickets page */
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-filter {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter:hover {
    background: #5a6fd8;
}

.btn-reset {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-reset:hover {
    background: #e0e0e0;
}

/* Add to your existing ntrunkline.css file */

/* Button Styles - Consistent across all pages */
.btn-create, 
.btn-filter,
.btn-reset,
.btn-view,
.btn-save,
.btn-change,
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

/* Primary action buttons - gradient */
.btn-create,
.btn-save,
.btn-change,
.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-create:hover,
.btn-save:hover,
.btn-change:hover,
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Secondary buttons */
.btn-filter {
    background: #667eea;
    color: white;
}

.btn-filter:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* Tertiary buttons */
.btn-reset {
    background: #f0f0f0;
    color: #666;
}

.btn-reset:hover {
    background: #e0e0e0;
}

/* Small view buttons */
.btn-view {
    padding: 6px 12px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
}

.btn-view:hover {
    background: #667eea;
    color: white;
}

/* Icon buttons */
.btn-notification {
    background: #f5f7fb;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-notification:hover {
    background: #e0e0e0;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
}

/* Disabled state */
.btn-create:disabled,
.btn-filter:disabled,
.btn-reset:disabled,
.btn-view:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading state */
.btn-create.loading i,
.btn-filter.loading i,
.btn-reset.loading i {
    display: none;
}

.btn-create.loading::after,
.btn-filter.loading::after,
.btn-reset.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    .btn-create,
    .btn-filter,
    .btn-reset {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .top-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-create,
    .btn-filter,
    .btn-reset {
        width: 100%;
        justify-content: center;
    }
}

/* Add to your existing ntrunkline.css file */

/* Login Page Specific Styles */
.login-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-body {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
    z-index: 2;
    pointer-events: none;
    width: 20px;
    text-align: center;
}

.form-group .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    z-index: 2;
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: color 0.3s;
}

.form-group .password-toggle:hover {
    color: #667eea;
}

.form-control {
    width: 100%;
    padding: 15px 45px !important;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
    height: auto;
    line-height: normal;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.form-group:not(:has(.password-toggle)) .form-control {
    padding: 15px 15px 15px 45px !important;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check-label {
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    margin-right: 10px;
}

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.alert-danger {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-left: 4px solid #3c3;
}

.alert i {
    margin-right: 10px;
    font-size: 18px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #764ba2;
}

.btn-login.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-login.loading i.fa-sign-in-alt {
    display: none;
}

.btn-login.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Login page responsive */
@media (max-width: 480px) {
    .login-header {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .login-body {
        padding: 30px 20px;
    }
    
    .form-control {
        padding: 12px 40px !important;
        font-size: 14px;
    }
    
    .btn-login {
        padding: 12px;
        font-size: 15px;
    }
}

/* Add to your existing ntrunkline.css file */

/* Create Ticket Page Specific Styles */
.ticket-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.tracking-id {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.tracking-id .label {
    font-size: 14px;
    opacity: 0.9;
}

.tracking-id .value {
    font-size: 20px;
    font-weight: 600;
    font-family: monospace;
}

/* Form Elements - extending existing form styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-control, .form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Attachment Styles */
.attachment-row {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px dashed #e0e0e0;
}

.attachment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.attachment-title {
    font-weight: 600;
    color: #666;
}

.btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #fee;
}

.file-info {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.btn-add {
    background: #f0f0f0;
    border: 2px dashed #667eea;
    padding: 15px;
    border-radius: 10px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add:hover {
    background: #e8eaf6;
    border-color: #5a6fd8;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.progress {
    height: 5px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
    display: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s;
}

/* Row layout for form columns */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ticket-form {
        padding: 30px 20px;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tracking-id {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tracking-id .value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ticket-form {
        padding: 20px 15px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
    
    .btn-add {
        padding: 12px;
        font-size: 13px;
    }
}

/* Add/Update these sections in your ntrunkline.css */

/* ===== LOGIN PAGE SPECIFIC STYLES ===== */
.login-wrapper {
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.login-card {
    width: 100%;
    margin-bottom: 20px;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-body {
    padding: 40px 30px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-footer a:hover {
    color: #764ba2;
}

/* ===== FOOTER STYLES ===== */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 20px;
    width: 100%;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.footer i {
    margin: 0 3px;
}

/* ===== FORM ICON POSITIONING ===== */
.form-group .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 16px;
    z-index: 2;
}

.form-group .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    z-index: 2;
    font-size: 16px;
}

.form-group .password-toggle:hover {
    color: #667eea;
}

/* Ensure form inputs have proper padding for icons */
.form-control {
    padding: 12px 45px !important;
    height: 48px;
}


/* Add to your existing ntrunkline.css file */
/* View Ticket Page Specific Styles */

/* Ticket Container */
.ticket-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.ticket-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ticket-id {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ticket-id h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.ticket-header .status-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
}

.ticket-header .priority-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.ticket-header .priority-high { background: #ffebee; color: #c62828; }
.ticket-header .priority-medium { background: #fff8e1; color: #ff8f00; }
.ticket-header .priority-low { background: #e8f5e9; color: #2e7d32; }

.ticket-body {
    padding: 30px;
}

.ticket-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-value i {
    color: #667eea;
    width: 20px;
}

.ticket-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ticket-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #444;
    white-space: pre-wrap;
}

/* Attachments Section */
.attachments-section {
    margin-bottom: 30px;
}

.attachments-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.attachment-item {
    background: #f0f0f0;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.attachment-item:hover {
    background: #e0e0e0;
}

.attachment-item i {
    color: #667eea;
    font-size: 20px;
}

.attachment-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.attachment-item .size {
    color: #999;
    font-size: 12px;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.comments-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
    resize: vertical;
    min-height: 100px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.comment-form button {
    margin-top: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-text {
    color: #666;
    line-height: 1.5;
}

/* Status Update Form (Admin) */
.status-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 30px;
}

.status-form h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-update {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-update:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Ticket Actions */
.ticket-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-back {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-back:hover {
    background: #e0e0e0;
}

.btn-print {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-print:hover {
    background: #e0e0e0;
}

/* Remarks section */
.ticket-description.remarks {
    background: #fff3cd;
    color: #856404;
}

/* Responsive */
@media (max-width: 992px) {
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ticket-id {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ticket-meta {
        grid-template-columns: 1fr;
    }
    
    .ticket-id h1 {
        font-size: 22px;
    }
    
    .ticket-header .status-badge,
    .ticket-header .priority-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .comment-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ticket-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-back, .btn-print {
        flex: 1;
        justify-content: center;
    }
}

/* Tickets Table - reuse from tickets page */
.tickets-table {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

tr:hover td {
    background: #f8f9fa;
}

/* Status Badges - reuse from dashboard */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-open { background: #e3f2fd; color: #1976d2; }
.status-progress { background: #fff3e0; color: #f57c00; }
.status-resolved { background: #e8f5e9; color: #388e3c; }
.status-closed { background: #fafafa; color: #616161; }

/* Priority Badges - reuse from dashboard */
.priority-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.priority-high { background: #ffebee; color: #c62828; }
.priority-medium { background: #fff8e1; color: #ff8f00; }
.priority-low { background: #e8f5e9; color: #2e7d32; }

/* Button View - reuse from dashboard */
.btn-view {
    padding: 6px 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 6px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #667eea;
    color: white;
}

/* Pagination - reuse from tickets page */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.page-link:hover, .page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Responsive */
@media (max-width: 992px) {
    .status-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .status-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .status-card {
        min-height: 100px;
        padding: 15px 8px;
    }
    
    .status-card .count {
        font-size: 28px;
    }
    
    .status-card .label {
        font-size: 13px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .status-cards {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .status-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .status-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .status-card {
        min-height: 100px;
        padding: 15px 8px;
    }
    
    .status-card .count {
        font-size: 28px;
    }
    
    .status-card .label {
        font-size: 13px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .status-cards {
        grid-template-columns: 1fr;
    }
}

/* Responsive Dashboard */
@media (max-width: 992px) {
    .welcome-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .charts-row {
        grid-template-columns: 1fr;
    }
    
    .welcome-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .welcome-stat {
        flex: 1;
        min-width: 100px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .top-actions {
        justify-content: center;
    }
}

/* Mobile responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .profile-header {
        padding: 30px 20px;
    }
    
    .profile-body {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}