/* ========================================
   ONE WEB API - CUSTOM STYLES
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */
:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #4ecdc4, #44a08d);
    --accent-gradient: linear-gradient(135deg, #ffecd2, #fcb69f);
    --danger-gradient: linear-gradient(135deg, #f093fb, #f5576c);

    /* Status Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --danger-color: #e74c3c;
    --primary-color: #667eea;

    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-muted: #6c757d;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-glass: rgba(255, 255, 255, 0.95);

    /* Border Colors */
    --border-light: #e9ecef;
    --border-lighter: #f0f0f0;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 25px;
    --spacing-2xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   loader STYLES
   ======================================== */
.lds-ripple .lds-pos {
    border: 2px solid #f02e22 !important;
}
.lds-ripple .lds-pos {
    border: 2px solid #f02e22 !important;
}


/* ========================================
   BASE SELECT2 STYLES
   ======================================== */
.select2-container--default .select2-selection--single {
    height: 34px;
    line-height: 1.5;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 36px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 36px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    line-height: 36px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    line-height: 36px;
}

.select2-container .select2-selection--single {
    color: #4f5467;
    background-color: #fff;
    border: 1px solid #e9ecef;
    height: 35px;
}

/* ========================================
   ENHANCED SELECT2 STYLING
   ======================================== */
.select2-container--bootstrap4 .select2-selection--single {
    height: 45px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.select2-container--bootstrap4 .select2-selection--single:focus,
.select2-container--bootstrap4.select2-container--focus
    .select2-selection--single {
    border-color: #f02d22;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
}

.select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 41px;
    padding-left: 15px;
    padding-right: 35px;
    color: #495057;
    font-size: 14px;
}

.select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__placeholder {
    color: #6c757d;
    font-style: italic;
}

.select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__arrow {
    height: 43px;
    width: 35px;
    right: 5px;
}

.select2-container--bootstrap4
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #6c757d transparent transparent transparent;
    border-width: 5px 4px 0 4px;
    margin-left: -4px;
    margin-top: -2px;
}

.select2-container--bootstrap4.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #6c757d transparent;
    border-width: 0 4px 5px 4px;
    margin-top: -3px;
}

.select2-container--bootstrap4 .select2-dropdown {
    border: 2px solid #f02d22;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    animation: fadeInDown 0.2s ease-out;
}

.select2-container--bootstrap4 .select2-results__option {
    padding: 12px 15px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
}

.select2-container--bootstrap4
    .select2-results__option--highlighted[aria-selected] {
    background-color: #f02d22;
    color: #ffffff;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected="true"] {
    background-color: #f8f9fa;
    color: #f02d22;
    font-weight: 600;
}

/* Prevent hover effect on already selected options */
.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected="true"] {
    background-color: #f8f9fa !important;
    color: #f02d22 !important;
}

.select2-container--bootstrap4
    .select2-search--dropdown
    .select2-search__field {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
}

.select2-container--bootstrap4
    .select2-search--dropdown
    .select2-search__field:focus {
    border-color: #f02d22;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
    outline: none;
}

.select2-container--bootstrap4 .select2-results__message {
    color: #6c757d;
    font-style: italic;
    padding: 15px;
    text-align: center;
}

.select2-container--bootstrap4 {
    width: 100% !important;
}

.select2-container--bootstrap4.select2-container--focus
    .select2-selection--single {
    border-color: #f02d22 !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25) !important;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 45px;
    font-size: 14px;
}


.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-control:read-only {
    background-color: #f2f4f5;
    border-color: #dee2e6;
    color: #6c757d;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-outline-primary {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 45px;
    color: white;
}

.btn-outline-primary:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
}

.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #f02d22;
    border-color: #f02d22;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
}

.btn-outline-primary:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: 0 5px 15px rgba(240, 45, 34, 0.2);
    color: white;
}

.btn-outline-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
    color: white;
}

.btn-outline-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
    color: white;
}

.btn-outline-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
    color: white;
}

/* .btn-warning {
    background-color: #f02d22;
    border-color: #f02d22;
}

.btn-warning:hover {
    background-color: #f02d22;
    border-color: #f02d22;
}


.btn-warning:not(:disabled):not(.disabled):active {
    background-color: #f02d22;
    border-color: #f02d22;
}


.btn-warning:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
} */

.btn-primary {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 45px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
}

.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #f02d22;
    border-color: #f02d22;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    height: 45px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.create-btn {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px #764ba2;
    color: white;
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
    color: white;
    text-decoration: none;
}

.btn-submit {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border: none;
    border-radius: 15px;
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(240, 45, 34, 0.4);
    color: white;
}

.btn-submit:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: 0 5px 15px rgba(240, 45, 34, 0.2);
}

.btn-save {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(240, 45, 34, 0.3);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 45, 34, 0.4);
    color: white;
}

.btn-save:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: 0 3px 10px rgba(240, 45, 34, 0.2);
}

/* ========================================
   CARD STYLES
   ======================================== */
.card {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
}

.card-header {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid #f02d22;
    border-radius: 15px 15px 0 0 !important;
}

.card-header h4 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

/* ========================================
   TERMINAL FORM STYLES
   ======================================== */
.terminal-form-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.terminal-edit-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
}

.edit-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}

.form-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

.edit-form-header {
    background: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: none;
}

.edit-form-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-form-header h4 i {
    font-size: 1.25rem;
}

.form-body {
    padding: 2rem;
}

.edit-form-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #f02d22;
}

.form-section h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h5 i {
    color: #f02d22;
}

.form-section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f02d22;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title i {
    color: #f02d22;
}

/* ========================================
   TERMINAL DETAILS PAGE STYLES
   ======================================== */
.terminal-header {
    background: linear-gradient(135deg, #f02e22 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.terminal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

/* ========================================
   USAGE DATA ANALYTICS STYLES
   ======================================== */

/* Main Usage Data Card */
.usage-data-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 0;
    margin-bottom: var(--spacing-2xl);
    overflow: hidden;
    position: relative;
}

/* ========================================
   BACK BUTTON STYLES
   ======================================== */

.back-btn {
    background: linear-gradient(45deg, #f02e22, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* ========================================
   EMAIL SHOW PAGE STYLES
   ======================================== */
.email-header {
    background: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.email-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.email-title i {
    font-size: 2rem;
    opacity: 0.9;
}

.email-subtitle {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-actions {
    display: flex;
    gap: 1rem;
}

.email-details-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    margin-bottom: 2rem;
}

.email-details-header {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f02d22;
}

.email-details-body {
    padding: 2rem;
}

.info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #f02d22;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-label i {
    color: #f02d22;
    width: 16px;
}

.info-value {
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
    line-height: 1.6;
}

.email-content-preview {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.status-card,
.template-info-card,
.quick-actions-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.status-header,
.template-info-header,
.quick-actions-header {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #f02d22;
}

.status-title,
.template-info-title,
.quick-actions-title {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-title i,
.template-info-title i,
.quick-actions-title i {
    color: #f02d22;
}

.status-body,
.template-info-body,
.quick-actions-body {
    padding: 1.5rem;
}

.template-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.meta-label i {
    color: #f02d22;
    width: 14px;
}

.meta-value {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    justify-content: center;
}

.action-edit {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    color: white;
}

.action-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
    color: white;
    text-decoration: none;
}

.action-back {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
}

.action-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
    color: white;
    text-decoration: none;
}

/* ========================================
   TERMINAL INDEX PAGE STYLES
   ======================================== */
.filter-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
    border-left: 4px solid #f02d22;
}

.filter-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: #f02d22;
}

.filter-form-row {
    align-items: end;
}

.table-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
}

.table thead th {
    background-color: #000000;
    border: none;
    padding: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.stats-row {
    margin-bottom: 1.5rem;
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
    border-left: 4px solid #f02d22;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stats-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f02d22;
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   INPUT GROUP STYLES
   ======================================== */
.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.input-group-enhanced {
    position: relative;
}

.input-group-enhanced .form-control {
    padding-right: 50px;
}

.input-group-enhanced .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* ========================================
   VALIDATION STYLES
   ======================================== */
/* .validation-error {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
} */

/* ========================================
   LAYOUT STYLES
   ======================================== */
.left-sidebar {
    min-height: 100vh;
    background: #263544;
    color: #fff;
}

.sidebar-bottom-link {
    border-top: 1px solid #2a3f54;
    background: #263544;
}

.sidebar-bottom-link .sidebar-link {
    color: #fff;
}

.sidebar-bottom-link .sidebar-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.table-no-border,
.table-no-border td,
.table-no-border th,
.table-no-border tr {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 38px;
    right: 15px;
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.custom-centered-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 400px;
}

.modal-content {
    padding: 1rem 2rem;
}

/* ========================================
   CKEDITOR STYLES
   ======================================== */
.ck-editor__editable_inline {
    min-height: 250px !important;
    max-height: 250px !important;
    overflow-y: auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   TERMINAL LOADER STYLES
   ======================================== */
.terminal-loader {
    display: none;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #f02d22;
    overflow: hidden;
}

.terminal-loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(240, 45, 34, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #f02d22;
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    border-right-color: #764ba2;
    animation-delay: 0.5s;
    width: 70px;
    height: 70px;
    top: 5px;
    left: 5px;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: #28a745;
    animation-delay: 1s;
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
}

.loader-content {
    max-width: 400px;
}

.loader-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.loader-title::before {
    content: "🔍";
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.loader-message {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.loader-progress {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 15px;
    border-radius: 10px;
}

.progress-bar {
    width: 0%;
    height: 100%;   
    /* font-size: 12px;
    line-height: 20px; */
    background-size: 200% 200%;
    /* border-radius: 10px;     */
    position: relative;
    text-align: center;
    background-color: #ebf1f5; 
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
} 

.progress-bar {
    /* float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px; */
    /* color: #fff; */
    /* text-align: center;
    background-color: #337ab7; */
    /* -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease; */
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    /* animation: progressShine 2s infinite; */
}

.progress-bar-success {
    background-color: #5cb85c;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-bar-info {
    background-color: #5bc0de;
}

.progress-bar-danger {
    background-color: #d9534f;
}

/* Loader Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes progress {
    0% {
        width: 0%;
        left: 0%;
    }
    50% {
        width: 70%;
        left: 15%;
    }
    100% {
        width: 100%;
        left: 0%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Loader States */
.terminal-loader.loading {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.terminal-loader.hidden {
    display: none;
    animation: fadeOutDown 0.3s ease-in;
}

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

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Responsive Loader */
@media (max-width: 768px) {
    .terminal-loader {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .loader-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .spinner-ring:nth-child(2) {
        width: 50px;
        height: 50px;
        top: 5px;
        left: 5px;
    }

    .spinner-ring:nth-child(3) {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
    }

    .loader-title {
        font-size: 1.25rem;
    }

    .loader-message {
        font-size: 0.9rem;
    }
}

/* ========================================
   BEAUTIFUL SIDEBAR STYLES
   ======================================== */
#main-wrapper[data-layout="vertical"][data-sidebartype="full"] .page-wrapper {
    margin-left: 280px;
}

.beautiful-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    width: 280px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.beautiful-sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Modern Navigation */
.modern-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0.25rem 0;
    position: relative;
}

.nav-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f02d22, #764ba2);
    border-radius: 0 4px 4px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 1rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    text-decoration: none;
}

.nav-item.active .nav-link {
    background: linear-gradient(
        90deg,
        rgba(240, 45, 34, 0.2),
        rgba(118, 75, 162, 0.2)
    );
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(240, 45, 34, 0.2);
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.nav-item.active .nav-icon {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    box-shadow: 0 5px 15px rgba(240, 45, 34, 0.3);
}

.nav-icon i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-item.active .nav-icon i {
    color: #ffffff;
}

.nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.nav-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.nav-indicator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.nav-item.active .nav-indicator {
    color: #ffffff;
}

/* Section Titles */
.nav-section {
    margin: 1.5rem 0 0.5rem 0;
    padding: 0 1.5rem;
}

.section-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #f02d22, #764ba2);
    border-radius: 2px;
}

/* Submenu Styles */
.has-submenu .nav-indicator {
    transition: transform 0.3s ease;
}

.has-submenu.active .nav-indicator {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 15px 15px 0;
    margin-right: 1rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.has-submenu.active .submenu {
    max-height: 200px;
}

.submenu-item {
    margin: 0;
}

.submenu-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.submenu-item a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
}

.submenu-item.active a {
    background: rgba(240, 45, 34, 0.2);
    color: #ffffff;
}

.submenu-item a i {
    margin-right: 0.75rem;
    font-size: 0.8rem;
    width: 16px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-item {
    margin: 0;
}

.footer-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.footer-icon i {
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.footer-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

/* User Profile Section */
.sidebar-user {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    position: relative;
}

.avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.user-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1a1a2e;
}

.user-status.online {
    background: #28a745;
}

.user-info {
    flex: 1;
}

.user-name {
    color: #ffffff;
    /* font-size: 1rem; */
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.user-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.2;
}

.user-actions .btn {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

.user-actions .btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Dropdown Menu */
.dropdown-menu {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Scrollbar Styling */
.scroll-sidebar::-webkit-scrollbar {
    width: 4px;
}

.scroll-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.scroll-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .beautiful-sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

    .beautiful-sidebar.show {
        transform: translateX(0);
    }

    .sidebar-header {
        padding: 1rem;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .nav-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }

    .sidebar-user {
        padding: 1rem;
    }
}

/* Animation for sidebar toggle */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Hover Effects */
.nav-item:hover .nav-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(240, 45, 34, 0.2);
}

.nav-item:hover .nav-indicator {
    transform: translateX(3px);
}

/* Active State Animations */
.nav-item.active .nav-link {
    animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
    from {
        box-shadow: 0 5px 15px rgba(240, 45, 34, 0.2);
    }
    to {
        box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
    }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 768px) {
    .email-header {
        padding: 1.5rem;
    }

    .email-title {
        font-size: 2rem;
    }

    .email-actions {
        margin-top: 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .info-label {
        min-width: auto;
    }
}

span.fa-eye-slash.toggle-password, span.fa-eye.toggle-password {
    line-height: 2;
    margin-right: 10px;
}

/* ========================================
   pavan raj sharma custom STYLES
   ======================================== */
.badge-danger {
    background-color: #f02d22 !important;
}
.btn-danger {
    background-color: #f02d22;
    border-color: #f02d22;
}
.text-danger {
    margin-top: 5px;
}
.breadcrumb a, footer.footer a, .theme-text-color {
    background: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* For Chrome/Safari */
    background-clip: text; /* For Firefox */
    color: transparent; /* fallback */
    font-weight: 400;
}

/* ========================================
   MODERN PAGINATION STYLES
   ======================================== */
.pagination {
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #6c757d;
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 45px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pagination .page-link:hover {
    border-color: #f02d22;
    color: #ffffff;
    background: linear-gradient(45deg, #f02d22, #764ba2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.3);
    text-decoration: none;
}

.pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
    z-index: 3;
}

/* Active Page Styles */
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f02d22 0%, #764ba2 100%);
    border-color: #d37c7c9c;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.4);
    position: relative;
    z-index: 2;
}

.pagination .page-item.active .page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 8px;
    pointer-events: none;
}

.pagination .page-item.active .page-link:hover {
    background: linear-gradient(135deg, #e02818 0%, #6a4293 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(240, 45, 34, 0.5);
}

/* Disabled Page Styles */
.pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Navigation Arrow Styles */
.pagination .page-link[aria-label="Previous"],
.pagination .page-link[aria-label="Next"] {
    /* font-size: 1.1rem; */
    padding: 0.75rem 1.25rem;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-color: #dee2e6;
    color: #495057;
    font-weight: 700;
}

.pagination .page-link[aria-label="Previous"]:hover,
.pagination .page-link[aria-label="Next"]:hover {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    border-color: #f02d22;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 45, 34, 0.3);
}

/* First and Last Page Special Styling */
.pagination .page-item:first-child .page-link {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Ellipsis Styling */
.pagination .page-item .page-link:not([href]) {
    background: transparent;
    border: none;
    color: #6c757d;
    font-weight: 700;
    cursor: default;
    padding: 0.75rem 0.5rem;
}

/* Enhanced Container Styling */
.pagination-container {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: none;
    margin-top: 1.5rem;
}

/* Mobile Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .pagination .page-link[aria-label="Previous"],
    .pagination .page-link[aria-label="Next"] {
        padding: 0.5rem 1rem;
    }
    
    /* Hide some page numbers on mobile to save space */
    .pagination .page-item:not(.active):not(:first-child):not(:last-child):not(.disabled) {
        display: none;
    }
    
    .pagination .page-item.active,
    .pagination .page-item:first-child,
    .pagination .page-item:last-child,
    .pagination .page-item.disabled {
        display: flex;
    }
}

@media (max-width: 480px) {
    .pagination .page-link {
        padding: 0.5rem 0.6rem;
        min-width: 35px;
        font-size: 0.85rem;
    }
    
    .pagination-container {
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* Animation for page transitions */
@keyframes pageTransition {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pagination .page-item.active .page-link {
    animation: pageTransition 0.3s ease-out;
}

/* Loading state for pagination */
.pagination.loading .page-link {
    opacity: 0.6;
    pointer-events: none;
}

.pagination.loading .page-item.active .page-link {
    background: linear-gradient(45deg, #f02d22, #764ba2);
    background-size: 200% 200%;
    animation: shimmerLoading 1.5s ease-in-out infinite;
}

@keyframes shimmerLoading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Enhanced hover effects with micro-interactions */
.pagination .page-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pagination .page-link:hover::after {
    left: 100%;
}

/* Accessibility improvements */
.pagination .page-link:focus-visible {
    outline: 2px solid #f02d22;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(240, 45, 34, 0.25);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .pagination-container {
        background: #2c3e50;
        color: #ffffff;
    }
    
    .pagination .page-link {
        background-color: #34495e;
        border-color: #495057;
        color: #ffffff;
    }
    
    .pagination .page-item.disabled .page-link {
        background-color: #495057;
        border-color: #6c757d;
        color: #adb5bd;
    }
}


/* ========================================
   break long string
   ======================================== */
.break-long-string {
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
}