/*
  Developed by Rameez Scripts
  WhatsApp: https://wa.me/923224083545 (For Custom Projects)
  YouTube: https://www.youtube.com/@rameezimdad (Subscribe for more!)
*/

/* ========== CSS Variables ========== */
:root {
    --navy-primary: #001f3f;
    --navy-dark: #001529;
    --navy-light: #003366;
    --navy-accent: #0074D9;
    --navy-hover: #002a52;
    --success: #34a853;
    --warning: #fbbc04;
    --danger: #ea4335;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
    font-size: 16px !important;
    touch-action: manipulation;
}

/* ========== Top Banner ========== */
.top-banner {
    width: 100%;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.top-banner-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.top-banner-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-banner-subtitle {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.top-banner-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-banner-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 18px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.top-banner-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.top-banner-btn.active {
    background: var(--navy-accent);
    border-color: var(--navy-accent);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 12px 20px;
    background: white;
    border-radius: 3px;
    margin: 15px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.breadcrumb a {
    color: var(--navy-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.breadcrumb a:hover {
    color: var(--navy-accent);
}

.breadcrumb-sep {
    color: #ccc;
    font-size: 12px;
}

.breadcrumb span:last-child {
    color: #333;
    font-weight: 600;
}

/* ========== Main Content ========== */
.main-content {
    padding: 0 20px 20px;
}

.page-header {
    background: white;
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header h1 {
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== Catalog Card Grid ========== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 0 0 20px;
}

.catalog-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--navy-accent);
}

.catalog-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-image i {
    font-size: 56px;
    color: var(--navy-primary);
    opacity: 0.3;
}

.catalog-card-body {
    padding: 16px;
}

.catalog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.catalog-card-subtitle {
    font-size: 13px;
    color: #888;
}

.catalog-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
}

.catalog-card-badge.brand-badge {
    background: rgba(0, 116, 217, 0.1);
    color: var(--navy-accent);
}

.catalog-card-badge.count-badge {
    background: rgba(0, 31, 63, 0.08);
    color: var(--navy-primary);
}

/* ========== Diagram Viewer ========== */
.diagram-viewer {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.diagram-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.diagram-container img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.diagram-placeholder {
    text-align: center;
    color: #999;
    padding: 60px;
}

.diagram-placeholder i {
    font-size: 80px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.3;
}

.diagram-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.diagram-nav-btn {
    background: var(--navy-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.diagram-nav-btn:hover {
    background: var(--navy-hover);
}

.diagram-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.diagram-page-indicator {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-primary);
    min-width: 60px;
    text-align: center;
}

.diagram-download-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
}

.diagram-download-btn:hover {
    background: #2d9249;
    transform: translateY(-1px);
}

.diagram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.diagram-header h3 {
    font-size: 18px;
    color: var(--navy-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== Search Section ========== */
.search-section {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--navy-accent);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.15);
}

.search-box button {
    padding: 14px 24px;
    background: var(--navy-primary);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-box button:hover {
    background: var(--navy-hover);
}

.search-results-info {
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 14px;
}

/* ========== Data Section ========== */
.data-section {
    background: white;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== Skeleton Loaders ========== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 3px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skeleton-card-image {
    height: 180px;
}

.skeleton-card-body {
    padding: 16px;
}

.skeleton-card-title {
    height: 18px;
    width: 70%;
    margin-bottom: 10px;
}

.skeleton-card-text {
    height: 14px;
    width: 50%;
}

.skeleton-table {
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 3px;
}

.skeleton-table-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.skeleton-table-cell {
    height: 20px;
    border-radius: 3px;
}

/* ========== DataTable Styling ========== */
table.dataTable {
    width: 100% !important;
    border-collapse: collapse;
    background: white;
}

table.dataTable thead th {
    background: var(--navy-primary) !important;
    color: white !important;
    padding: 14px !important;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

table.dataTable tbody td {
    padding: 12px 14px !important;
    font-size: 14px;
    color: #555;
}

table.dataTable tbody tr:hover {
    background: #f9f9f9 !important;
}

.dt-buttons {
    margin-bottom: 15px;
}

.dt-button {
    background: var(--navy-primary) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 3px !important;
    font-size: 14px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
}

.dt-button:hover {
    background: var(--navy-hover) !important;
}

/* ========== Action Icons ========== */
.action-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 6px 10px;
    margin: 0 4px;
    border-radius: 2px;
    transition: all 0.3s;
}

.action-icon.edit-icon {
    color: #fbbc04;
}

.action-icon.edit-icon:hover {
    background: rgba(251, 188, 4, 0.1);
    transform: scale(1.15);
}

.action-icon.delete-icon {
    color: #ea4335;
}

.action-icon.delete-icon:hover {
    background: rgba(234, 67, 53, 0.1);
    transform: scale(1.15);
}

.action-icon.view-icon {
    color: var(--navy-accent);
}

.action-icon.view-icon:hover {
    background: rgba(0, 116, 217, 0.1);
    transform: scale(1.15);
}

/* ========== Status Badges ========== */
.status-badge {
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-active,
.status-available {
    background: #d4edda;
    color: #155724;
}

.status-inactive,
.status-out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.status-discontinued {
    background: #fff3cd;
    color: #856404;
}

/* ========== Buttons ========== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--navy-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--navy-hover);
    transform: translateY(-2px);
}

.btn-success {
    background: #34a853;
    color: white;
}

.btn-danger {
    background: #ea4335;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-accent);
    box-shadow: 0 0 0 2px rgba(0, 116, 217, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.error {
    margin-top: 15px;
    color: #ea4335;
    font-size: 14px;
}

/* ========== Modal ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal {
    background: white;
    border-radius: 4px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 24px 30px;
    background: var(--navy-primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0 0;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

/* ========== Filters Section ========== */
.filters-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--navy-primary);
}

.filters-header h3 {
    font-size: 18px;
    color: var(--navy-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ced4da;
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.filter-input:focus {
    outline: none;
    border-color: var(--navy-accent);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.15);
}

/* ========== Searchable Dropdown ========== */
.searchable-dropdown {
    position: relative;
    width: 100%;
}

.searchable-dropdown-input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 2px solid #ced4da;
    border-radius: 3px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
    cursor: pointer;
}

.searchable-dropdown-input:focus {
    outline: none;
    border-color: var(--navy-accent);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.15);
}

.searchable-dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
}

.searchable-dropdown-arrow.open {
    transform: translateY(-50%) rotate(180deg);
}

.searchable-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--navy-accent);
    border-top: none;
    border-radius: 0 0 3px 3px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.searchable-dropdown-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.searchable-dropdown-item:hover {
    background: rgba(0, 116, 217, 0.1);
}

.searchable-dropdown-item.selected {
    background: var(--navy-primary);
    color: white;
}

.searchable-dropdown-item.no-results {
    color: #999;
    font-style: italic;
    cursor: default;
}

.searchable-dropdown-item.no-results:hover {
    background: transparent;
}

/* ========== Toast Notifications ========== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}

.toast {
    padding: 14px 20px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: toast-slide-in 0.3s ease-out;
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--danger);
}

.toast-info {
    background: var(--navy-accent);
}

.toast i {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin-left: auto;
    opacity: 0.8;
    padding: 0;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== Admin Tabs ========== */
.admin-tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 4px;
    overflow-x: auto;
}

.admin-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-radius: 3px;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab:hover {
    color: var(--navy-primary);
    background: rgba(0, 31, 63, 0.05);
}

.admin-tab.active {
    background: var(--navy-primary);
    color: white;
}

/* ========== About Section ========== */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    border-radius: 4px;
    color: white;
}

.about-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.about-title h1 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.about-dev {
    font-size: 14px;
    opacity: 0.9;
}

.about-card {
    background: white;
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--navy-primary);
}

.about-card h2 {
    color: var(--navy-primary);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.about-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.about-features li {
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--navy-primary);
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.about-table-wrapper {
    overflow-x: auto;
    margin: 15px 0;
}

.about-roles-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.about-roles-table th,
.about-roles-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.about-roles-table th {
    background: var(--navy-primary);
    color: white;
    font-weight: 600;
}

.about-roles-table th:first-child {
    text-align: left;
}

.about-roles-table td:first-child {
    text-align: left;
    font-weight: 500;
    background: #f8f9fa;
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.role-admin {
    background: #d4edda;
    color: #155724;
}

.role-user {
    background: #cce5ff;
    color: #004085;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.about-developer {
    border-left-color: var(--navy-accent);
}

.developer-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.developer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--navy-primary);
    flex-shrink: 0;
}

.developer-details h3 {
    color: var(--navy-primary);
    font-size: 20px;
    margin-bottom: 5px;
}

.developer-brand {
    color: var(--navy-accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.developer-details p {
    margin-bottom: 15px;
}

.developer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.dev-link.whatsapp {
    background: #25D366;
    color: white;
}

.dev-link.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.dev-link.youtube {
    background: #FF0000;
    color: white;
}

.dev-link.youtube:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

.about-footer {
    text-align: center;
    padding: 25px;
    color: #666;
    font-size: 14px;
}

.about-version {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.mb-24 {
    margin-bottom: 24px;
}

/* ========== Empty State ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.3;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* ========== Grids ========== */
.dashboard-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 768px) {
    .top-banner {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .top-banner-title {
        font-size: 18px;
    }

    .top-banner-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .catalog-card-image {
        height: 140px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid-2 {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 95%;
    }

    .search-box {
        flex-direction: column;
    }

    .diagram-container {
        min-height: 250px;
    }

    .filters-section {
        padding: 15px;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .filters-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .developer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .developer-links {
        justify-content: center;
    }

    .admin-tabs {
        gap: 0;
    }

    .admin-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .breadcrumb {
        margin: 10px 15px;
    }

    .main-content {
        padding: 0 15px 15px;
    }

    input, select, textarea {
        font-size: 16px !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        padding: 12px 14px;
    }
}
