﻿:root {
    /* Primary Colors - Light Green Theme */
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --primary-light: #66BB6A;
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    /* Secondary Colors */
    --secondary-color: #6c757d;
    --secondary-dark: #5a6268;
    --secondary-light: #868e96;
    /* Status Colors */
    --success-color: #2E7D32;
    --warning-color: #FF9800;
    --error-color: #D32F2F;
    --info-color: #1976D2;
    /* Neutral Colors */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-border: #e8f5e8;
    --medium-gray: #6c757d;
    --dark-gray: #333333;
    --text-primary: #1B5E20;
    --text-secondary: #388E3C;
    --text-light: rgba(255, 255, 255, 0.9);
    /* Background Colors */
    --body-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --card-bg: var(--white);
    --input-bg: #f1f8e9;
    --success-bg: #E8F5E9;
    --error-bg: #FFEBEE;
    --info-bg: #E3F2FD;
    /* Border Colors */
    --border-color: #C8E6C9;
    --border-focus: var(--primary-color);
    --border-error: var(--error-color);
    --border-success: var(--success-color);
    /* Shadow Colors */
    --shadow-light: rgba(76, 175, 80, 0.1);
    --shadow-medium: rgba(76, 175, 80, 0.2);
    --shadow-primary: rgba(76, 175, 80, 0.4);
    /* Sizes */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --border-radius-xl: 25px;
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 25px;
    --spacing-xxl: 30px;
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-xxxl: 2.5rem;
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--dark-gray);
    background: var(--body-bg);
    min-height: 100vh;
    line-height: 1.6;
}

/* Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.content-container {
    background: var(--light-bg);
    min-height: calc(100vh - 56px);
    padding: var(--spacing-xxl);
}

/* Card Styles */
.auth-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 40px var(--shadow-medium);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    animation: slideUp 0.5s ease;
}

.card-custom {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border: none;
    margin-bottom: var(--spacing-lg);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Header */
.auth-card-header {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: var(--spacing-xxl);
    text-align: center;
}

    .auth-card-header h2 {
        font-size: var(--font-size-xxl);
        font-weight: 600;
        margin: 0;
    }

.card-header-custom {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border: none;
}

    .card-header-custom h2 {
        margin: 0;
        font-size: var(--font-size-xl);
        font-weight: 600;
    }

/* Card Body */
.auth-card-body {
    padding: var(--spacing-xxl);
}

.card-body-custom {
    padding: var(--spacing-xl);
}

/* Form Styles */
.form-group-custom {
    margin-bottom: var(--spacing-lg);
}

.form-label-custom {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--font-size-base);
}

.form-control-custom {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    background: var(--input-bg);
    transition: all var(--transition-normal);
    font-family: var(--font-family);
}

    .form-control-custom:focus {
        outline: none;
        border-color: var(--border-focus);
        background: var(--white);
        box-shadow: 0 0 0 3px var(--shadow-light);
    }

    .form-control-custom.is-invalid {
        border-color: var(--border-error);
    }

        .form-control-custom.is-invalid:focus {
            box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
        }

textarea.form-control-custom {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.form-check-custom {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.form-check-input-custom {
    width: 18px;
    height: 18px;
    margin-right: var(--spacing-sm);
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-label-custom {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    cursor: pointer;
}

/* Validation */
.text-danger-custom {
    color: var(--error-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

.validation-summary {
    background: var(--error-bg);
    border-left: 4px solid var(--error-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

    .validation-summary ul {
        margin: 0;
        padding-left: var(--spacing-lg);
        color: var(--error-color);
    }

/* Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-md) var(--spacing-xxl);
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px var(--shadow-primary);
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    }

    .btn-primary-custom:active {
        transform: translateY(0);
    }

.btn-secondary-custom {
    background: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

    .btn-secondary-custom:hover {
        background: var(--secondary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    }

.btn-success-custom {
    background: var(--success-color);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

    .btn-success-custom:hover {
        background: #1B5E20;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    }

.btn-warning-custom {
    background: var(--warning-color);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

    .btn-warning-custom:hover {
        background: #F57C00;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    }

.btn-danger-custom {
    background: var(--error-color);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

    .btn-danger-custom:hover {
        background: #B71C1C;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    }

.btn-link-custom {
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

    .btn-link-custom:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

.btn-sm-custom {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-block-custom {
    width: 100%;
    display: block;
}

/* Table Styles */
.table-custom {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-light);
}

    .table-custom thead {
        background: var(--primary-gradient);
        color: var(--text-light);
    }

    .table-custom th {
        padding: var(--spacing-lg);
        text-align: left;
        font-weight: 600;
        font-size: var(--font-size-base);
    }

    .table-custom td {
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--light-border);
    }

    .table-custom tbody tr:hover {
        background: var(--success-bg);
        transition: background var(--transition-fast);
    }

    .table-custom tbody tr:last-child td {
        border-bottom: none;
    }

/* Alert Messages */
.alert-custom {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success-custom {
    background: var(--success-bg);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-error-custom {
    background: var(--error-bg);
    border-color: var(--error-color);
    color: var(--error-color);
}

.alert-info-custom {
    background: var(--info-bg);
    border-color: var(--info-color);
    color: var(--info-color);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--primary-color);
}

    .page-header h2 {
        color: var(--text-primary);
        font-size: var(--font-size-xxl);
        font-weight: 700;
        margin: 0;
    }

/* Action Buttons Group */
.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* Navbar Custom */
.navbar-custom {
    background: var(--primary-gradient) !important;
    box-shadow: 0 2px 10px var(--shadow-medium);
    padding: var(--spacing-md) var(--spacing-lg);
}

    .navbar-custom .navbar-brand {
        color: var(--text-light) !important;
        font-weight: 700;
        font-size: var(--font-size-xl);
    }

    .navbar-custom .nav-link {
        color: var(--text-light) !important;
        font-weight: 500;
        padding: var(--spacing-sm) var(--spacing-md) !important;
        margin: 0 var(--spacing-xs);
        border-radius: var(--border-radius);
        transition: all var(--transition-fast);
    }

        .navbar-custom .nav-link:hover {
            background: rgba(255, 255, 255, 0.2);
        }

    .navbar-custom .btn-link {
        color: var(--text-light) !important;
    }

/* Footer */
.footer-custom {
    background: var(--dark-gray);
    color: var(--text-light);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: auto;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--light-border);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: var(--spacing-lg) auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--medium-gray);
}

.empty-state-icon {
    font-size: var(--font-size-xxxl);
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: var(--spacing-md);
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }

    .action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
    }

    .table-custom {
        font-size: var(--font-size-sm);
    }

        .table-custom th,
        .table-custom td {
            padding: var(--spacing-sm);
        }
}
/* Footer Styles */
.footer-custom {
    background: var(--white);
    border-top: 2px solid var(--border-color);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

    .footer-custom p {
        margin: 0;
        color: var(--medium-gray);
        font-size: 14px;
    }


/* Highlight search results */
.highlight {
    background-color: yellow;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Search input focus effect */
#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Loading indicator */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid var(--border-color);
        border-top-color: var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive search */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
    }

        .page-header h2 {
            text-align: center;
        }

    #searchForm > div {
        flex-direction: column;
    }

    #searchForm button,
    #searchForm a {
        width: 100%;
    }
}


/* Image Upload Styles */
.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .image-upload-area:hover {
        border-color: var(--primary-color);
        background-color: var(--input-bg);
    }

    .image-upload-area.dragover {
        border-color: var(--primary-color);
        background-color: var(--primary-light);
    }

.image-preview-container {
    position: relative;
    display: inline-block;
}

.image-preview {
    max-width: 300px;
    max-height: 300px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .image-remove-btn:hover {
        background: var(--danger-dark);
        transform: scale(1.1);
    }

/* Image Modal */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#imageModal img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

#imageModal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #imageModal .close:hover {
        color: var(--danger-color);
        transform: scale(1.2);
    }

#modalCaption {
    text-align: center;
    color: #ccc;
    padding: 20px;
    font-size: 20px;
}

/* Image Thumbnail in Table */
.image-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .image-thumbnail:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        border-color: var(--primary-color);
    }

/* No Image Placeholder */
.no-image-placeholder {
    width: 100px;
    height: 100px;
    background: var(--input-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    color: var(--medium-gray);
    font-size: 12px;
}

/* File Input Styling */
input[type="file"] {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

    input[type="file"]:hover {
        border-color: var(--primary-color);
        background: var(--input-bg);
    }

    input[type="file"]::file-selector-button {
        padding: 8px 20px;
        background: var(--primary-gradient);
        color: var(--white);
        border: none;
        border-radius: var(--border-radius-sm);
        cursor: pointer;
        margin-right: 15px;
        transition: all 0.3s ease;
    }

        input[type="file"]::file-selector-button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

/* Responsive Images */
@media (max-width: 768px) {
    .image-thumbnail {
        width: 80px;
        height: 80px;
    }

    #imageModal img {
        max-width: 95%;
        margin-top: 10vh;
    }

    #imageModal .close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}


/* Machine Specific Styles */
.machine-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.machine-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.machine-spec-icon {
    font-size: 24px;
}

.machine-spec-label {
    font-weight: 600;
    font-size: 14px;
    opacity: 0.9;
}

.machine-spec-value {
    font-size: 20px;
    font-weight: bold;
}

.max-width-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.manufacturer-badge {
    background: var(--input-bg);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-family: monospace;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Machine Card Hover Effect */
.machine-card {
    transition: all 0.3s ease;
}

    .machine-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* Unit Label */
.unit-label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-weight: 500;
    background: var(--input-bg);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
}

/* Tips Box */
.tips-box {
    background: var(--input-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

    .tips-box h4 {
        margin: 0 0 10px 0;
        color: var(--primary-color);
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tips-box ul {
        margin: 0;
        padding-left: 20px;
        color: var(--medium-gray);
    }

    .tips-box li {
        margin-bottom: 8px;
    }

/* Responsive Machine Table */
@media (max-width: 768px) {
    .machine-table td {
        display: block;
        text-align: left;
        padding: 10px 15px;
    }

        .machine-table td:before {
            content: attr(data-label);
            font-weight: bold;
            display: inline-block;
            width: 120px;
        }

    .max-width-badge {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
}


/* home page */
/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Dashboard Card Link */
.dashboard-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .dashboard-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }

/* Card Icon */
.card-icon {
    font-size: 56px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover .card-icon {
    transform: scale(1.15);
}

/* Card Title */
.dashboard-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.dashboard-card:hover h3 {
    color: var(--primary-dark);
}

/* Card Description */
.dashboard-card p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Welcome Section */
.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .dashboard-card {
        padding: 25px 15px;
    }

    .card-icon {
        font-size: 42px;
    }

    .dashboard-card h3 {
        font-size: 1.1rem;
    }

    .display-4 {
        font-size: 1.8rem;
    }
}

/* Animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .dashboard-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .dashboard-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dashboard-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .dashboard-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .dashboard-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .dashboard-card:nth-child(6) {
        animation-delay: 0.6s;
    }

    .dashboard-card:nth-child(7) {
        animation-delay: 0.7s;
    }

    .dashboard-card:nth-child(8) {
        animation-delay: 0.8s;
    }

    .dashboard-card:nth-child(9) {
        animation-delay: 0.9s;
    }

    .dashboard-card:nth-child(10) {
        animation-delay: 1s;
    }

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 5px;
    padding: 0 10px;
}

.btn-language {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
}

    .btn-language:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #fff;
        transform: translateY(-1px);
    }

    .btn-language.active {
        background: #fff;
        color: var(--primary-color);
        border-color: #fff;
        font-weight: 700;
    }

/* User Info Badge */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-admin {
    background: var(--warning-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
}

.logout-btn {
    color: #fff !important;
    text-decoration: none;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
}

    .logout-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

/* Dropdown Menu Styles */
.dropdown-menu {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 14px;
}

    .dropdown-item:hover {
        background: var(--hover-color);
        color: var(--primary-color);
        padding-left: 25px;
    }

    .dropdown-item:active {
        background: var(--primary-color);
        color: #fff;
    }

/* Main Content Spacing */
.main-content {
    min-height: calc(100vh - 160px);
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .language-switcher {
        padding: 10px 0;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }

    .btn-language {
        flex: 1;
        max-width: 150px;
    }

    .navbar-nav .nav-item {
        text-align: center;
        padding: 5px 0;
    }

    .user-info {
        justify-content: center;
        padding: 10px 0;
    }

    .logout-btn {
        display: block;
        text-align: center;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
    }
}


/* Auth Language Switcher */
.auth-language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
}

html[dir="rtl"] .auth-language-switcher {
    right: auto;
    left: 20px;
}

.btn-language-auth {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .btn-language-auth:hover {
        background: #fff;
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-language-auth.active {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        font-weight: 700;
        box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    }

/* Auth Container Responsive */
@media (max-width: 576px) {
    .auth-language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .btn-language-auth {
        flex: 1;
        max-width: 120px;
    }
}

/* RTL Form Adjustments */
html[dir="rtl"] .form-control-custom,
html[dir="rtl"] .form-select-custom {
    text-align: right;
}

html[dir="rtl"] .form-check-custom {
    padding-right: 1.5em;
    padding-left: 0;
}

html[dir="rtl"] .form-check-input-custom {
    margin-right: -1.5em;
    margin-left: 0;
}

html[dir="rtl"] .form-check-label-custom {
    padding-right: 0.5rem;
    padding-left: 0;
}


/* =====================================================
   TIMELINE STYLES - Advanced Design
   ===================================================== */

/* Timeline Container */
.timeline {
    position: relative;
    padding: 40px 0;
    margin: 0 auto;
}

    /* Timeline Vertical Line */
    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50px;
        width: 4px;
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--border-color) 100%);
        border-radius: 2px;
        box-shadow: 0 0 10px var(--shadow-light);
    }

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    animation: timelineSlideIn 0.6s ease forwards;
    opacity: 0;
}

    .timeline-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .timeline-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .timeline-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    .timeline-item:nth-child(6) {
        animation-delay: 0.6s;
    }

    .timeline-item:nth-child(7) {
        animation-delay: 0.7s;
    }

    .timeline-item:nth-child(8) {
        animation-delay: 0.8s;
    }

    .timeline-item:nth-child(9) {
        animation-delay: 0.9s;
    }

    .timeline-item:nth-child(10) {
        animation-delay: 1s;
    }

@keyframes timelineSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Timeline Badge (Icon Circle) */
.timeline-badge {
    position: absolute;
    left: 28px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 10;
    box-shadow: 0 4px 15px var(--shadow-medium);
    border: 4px solid var(--white);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px var(--shadow-medium);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px var(--shadow-primary);
    }
}

/* Badge Colors for Different Stages */
.timeline-badge.stage-order {
    background: linear-gradient(135deg, #FFB300, #FFC107);
    color: var(--white);
}

.timeline-badge.stage-review {
    background: linear-gradient(135deg, #00ACC1, #00BCD4);
    color: var(--white);
}

.timeline-badge.stage-manufacturing {
    background: linear-gradient(135deg, #5E35B1, #673AB7);
    color: var(--white);
}

.timeline-badge.stage-printing {
    background: linear-gradient(135deg, #455A64, #607D8B);
    color: var(--white);
}

.timeline-badge.stage-completed {
    background: linear-gradient(135deg, #43A047, #4CAF50);
    color: var(--white);
}

/* Timeline Date */
.timeline-date {
    position: absolute;
    left: 110px;
    top: 0;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: 0 3px 10px var(--shadow-light);
    white-space: nowrap;
}

/* Timeline Content Card */
.timeline-content {
    position: relative;
    margin-left: 120px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        transform: translateX(5px);
        box-shadow: 0 8px 30px var(--shadow-medium);
        border-left-width: 6px;
    }

/* Timeline Header */
.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Timeline Meta Info */
.timeline-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--medium-gray);
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
}

.timeline-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .timeline-meta-item i {
        color: var(--primary-color);
    }

/* Timeline Badges */
.timeline-stage-badge {
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: inline-block;
}

    .timeline-stage-badge.stage-order {
        background: #FFF3E0;
        color: #E65100;
    }

    .timeline-stage-badge.stage-review {
        background: #E1F5FE;
        color: #01579B;
    }

    .timeline-stage-badge.stage-manufacturing {
        background: #EDE7F6;
        color: #4527A0;
    }

    .timeline-stage-badge.stage-printing {
        background: #ECEFF1;
        color: #263238;
    }

    .timeline-stage-badge.stage-completed {
        background: #E8F5E9;
        color: #1B5E20;
    }

.timeline-status-badge {
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: inline-block;
}

    .timeline-status-badge.status-pending {
        background: #FFF9C4;
        color: #F57F17;
    }

    .timeline-status-badge.status-in-progress {
        background: #E3F2FD;
        color: #1565C0;
    }

    .timeline-status-badge.status-completed {
        background: #E8F5E9;
        color: #2E7D32;
    }

    .timeline-status-badge.status-cancelled {
        background: #FFEBEE;
        color: #C62828;
    }

/* Timeline Body */
.timeline-body {
    margin-top: 15px;
}

.timeline-action {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-notes {
    background: var(--input-bg);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    color: var(--medium-gray);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

    .timeline-notes i {
        color: var(--primary-color);
        margin-right: 8px;
    }

/* Timeline Footer */
.timeline-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    font-size: var(--font-size-sm);
}

.timeline-user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.timeline-user-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Timeline Connector Line Between Items */
.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 62px;
    bottom: -40px;
    width: 2px;
    height: 40px;
    background: var(--border-color);
    opacity: 0.5;
}

/* Empty Timeline State */
.timeline-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
}

.timeline-empty-icon {
    font-size: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.timeline-empty-text {
    font-size: 18px;
    font-weight: 500;
}

/* Timeline Filter Buttons */
.timeline-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timeline-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--medium-gray);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .timeline-filter-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }

    .timeline-filter-btn.active {
        background: var(--primary-gradient);
        color: var(--white);
        border-color: var(--primary-color);
    }

/* Responsive Timeline */
@media (max-width: 992px) {
    .timeline::before {
        left: 35px;
    }

    .timeline-badge {
        left: 13px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .timeline-date {
        left: 90px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .timeline-content {
        margin-left: 100px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-badge {
        left: 0;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .timeline-date {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    .timeline-content {
        margin-left: 70px;
        padding: 15px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .timeline-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
        left: -2.5px;
    }

    .timeline-content {
        margin-left: 55px;
        padding: 12px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .timeline-action {
        font-size: 14px;
    }

    .timeline-notes {
        padding: 10px;
        font-size: var(--font-size-sm);
    }
}

/* Timeline Print Styles */
@media print {
    .timeline::before {
        background: #ddd !important;
    }

    .timeline-badge {
        box-shadow: none !important;
        border: 2px solid #ddd !important;
    }

    .timeline-content {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }

        .timeline-content:hover {
            transform: none !important;
        }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .timeline-content {
        background: #2d2d2d;
        color: #e0e0e0;
        border-left-color: var(--primary-light);
    }

    .timeline-title,
    .timeline-action {
        color: #f5f5f5;
    }

    .timeline-notes {
        background: #1a1a1a;
        color: #b0b0b0;
    }

    .timeline-user-name {
        color: #f5f5f5;
    }
}

/* Smooth Scroll for Timeline */
html {
    scroll-behavior: smooth;
}

/* Timeline Section Header */
.timeline-section-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.timeline-section-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Timeline Stats */
.timeline-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timeline-stat-card {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow-light);
    text-align: center;
}

.timeline-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-stat-label {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

/* ============================================
   Print Orders Table Styles
   ============================================ */

/* Table Container */
.table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow-light);
    margin: 20px 0;
    position: relative;
}

/* Scrollbar Styling */
.table-container::-webkit-scrollbar {
    height: 10px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 5px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    transition: background var(--transition-fast);
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Main Table */
.table-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 2000px; /* Ensure horizontal scroll for many columns */
    font-size: var(--font-size-sm);
}

/* Table Header */
.table-container thead {
    background: var(--primary-gradient);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-container thead th {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-container thead th:last-child {
    border-right: none;
}

/* Table Body */
.table-container tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--light-border);
}

.table-container tbody tr:hover {
    background: var(--success-bg);
    transform: scale(1.002);
    box-shadow: 0 2px 8px var(--shadow-light);
}

.table-container tbody tr:last-child {
    border-bottom: none;
}

.table-container tbody td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--light-border);
    white-space: nowrap;
}

.table-container tbody td:last-child {
    border-right: none;
}

/* Sticky Actions Column */
.table-container .sticky-right {
    position: sticky;
    right: 0;
    background: var(--white);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.05);
    z-index: 5;
    min-width: 200px;
}

.table-container tbody tr:hover .sticky-right {
    background: var(--success-bg);
}

/* Roll Direction Container */
.roll-direction-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.roll-number {
    font-weight: 600;
    color: var(--primary-color);
    font-size: var(--font-size-base);
}

.roll-direction-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 2px;
}

/* Tension Badge (Width/Length indicators) */
.tension-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--info-bg);
    color: var(--info-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border: 1px solid var(--info-color);
    min-width: 60px;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.badge-secondary {
    background: var(--light-bg);
    color: var(--medium-gray);
    border: 1px solid var(--medium-gray);
}

/* Action Buttons in Table */
.table-container .btn-sm {
    padding: 6px 12px;
    font-size: var(--font-size-xs);
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.table-container .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-info {
    background: var(--info-color);
    color: var(--white);
}

.btn-info:hover {
    background: #1565C0;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #1B5E20;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-warning:hover {
    background: #F57C00;
}

.btn-danger {
    background: var(--error-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #C62828;
}

.btn-cancel {
    background: #FF9800;
    color: var(--white);
}

.btn-cancel:hover {
    background: #F57C00;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-success-static {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid var(--success-color);
    cursor: default;
}

.btn-success-static:hover {
    transform: none;
    box-shadow: none;
}

/* Empty State */
.table-container tbody tr td[colspan] {
    padding: 40px 20px;
    text-align: center;
    color: var(--medium-gray);
    font-size: var(--font-size-lg);
    font-style: italic;
}

/* Strong Text in Table */
.table-container tbody strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design for Print Table */
@media screen and (max-width: 1400px) {
    .table-container table {
        min-width: 1800px;
    }

    .table-container thead th,
    .table-container tbody td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .roll-direction-image {
        width: 28px;
        height: 28px;
    }

    .tension-badge {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 50px;
    }
}

@media screen and (max-width: 768px) {
    .table-container {
        border-radius: 0;
        margin: 10px -15px;
    }

    .table-container thead th,
    .table-container tbody td {
        padding: 8px 6px;
        font-size: 10px;
    }

    .table-container .btn-sm {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 30px;
    }

    .roll-direction-container {
        gap: 4px;
        padding: 3px 6px;
    }

    .roll-direction-image {
        width: 24px;
        height: 24px;
    }
}

/* Print Styles */
@media print {
    .table-container {
        box-shadow: none;
        overflow: visible;
    }

    .table-container table {
        min-width: 100%;
        font-size: 8pt;
    }

    .table-container thead {
        background: #4CAF50 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .table-container tbody tr:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
    }

    .table-container .sticky-right {
        position: static;
        box-shadow: none;
    }

    .table-container .btn-sm {
        display: none;
    }

    .badge {
        border: 1px solid #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}