/* ==============================================
   ALERTISMS CUSTOM STYLES
   ============================================== */

/* ==============================================
   SWEETALERT Z-INDEX OVERRIDE
   ============================================== */
/* Ensure SweetAlert and other notifications appear above navigation */
.swal2-container,
.swal-overlay,
.flasher-container,
.fl-main-container,
.toast-container,
.toast-top-right,
#toast-container {
    z-index: 99999 !important;
}

/* ==============================================
   LARAVEL WELCOME PAGE STYLES
   ============================================== */

html,
body {
    background-color: #fff;
    color: #636b6f;
    font-family: "Nunito", sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.full-height {
    height: 100vh;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
}

.title {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}

/* ==============================================
   CONTACT PAGE STYLES
   ============================================== */

.main-content .list-icon,
div .list-icon {
    width: 32px !important;
    height: 32px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    color: white !important;
    font-size: 14px !important;
}

.main-content .list-name,
div .list-name {
    font-weight: 600 !important;
    color: #374151 !important;
}

.main-content .contact-count-badge,
div .contact-count-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.navigation-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(29, 78, 216, 0.05) 100%
    );
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Bootstrap utility classes for contacts page - High specificity */
.main-content .mb-2,
div .mb-2 {
    margin-bottom: 0.5rem !important;
}

.main-content .mb-3,
div .mb-3 {
    margin-bottom: 1rem !important;
}

.main-content .mb-4,
div .mb-4 {
    margin-bottom: 1.5rem !important;
}

.main-content .mb-0,
div .mb-0 {
    margin-bottom: 0 !important;
}

.main-content .me-2,
div .me-2 {
    margin-right: 0.5rem !important;
}

.main-content .text-muted,
div .text-muted {
    color: #6c757d !important;
}

.main-content .text-start,
div .text-start {
    text-align: left !important;
}

.main-content .d-flex,
div .d-flex {
    display: flex !important;
}

.main-content .align-items-center,
div .align-items-center {
    align-items: center !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-md-3 {
    flex: 0 0 auto;
    width: 25%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-icon-blue {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.contact-icon-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.contact-icon-blue::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-icon-blue:hover::before {
    opacity: 0.3;
}

.contact-icon-blue i {
    color: white;
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.contact-details {
    flex: 1;
}

/* ==============================================
   LAYOUT & SIDEBAR SPACING
   ============================================== */

/* Global layout spacing to align with sidebar */
.content-wrapper {
    margin-left: 250px !important;
}

.content-wrapper-wide {
    margin-left: 250px !important;
}

@media (max-width: 991px) {
    .content-wrapper,
    .content-wrapper-wide {
        margin-left: 0 !important;
    }
}

/* ==============================================
   COMMON CONTAINERS & BACKGROUNDS
   ============================================== */

/* Common containers */
.main-content {
    background: #f8fafc !important;
    min-height: 100vh;
    padding: 32px 32px 48px !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 1400px) {
    .main-content {
        padding-right: 56px !important;
    }
}

@media (max-width: 767px) {
    .main-content {
        padding: 24px !important;
    }
}

/* Landing page - remove top padding for navbar */
.landing-page {
    padding-top: 0 !important;
}

@media (max-width: 767px) {
    .landing-page {
        padding-top: 0 !important;
    }
}

.content-padded {
    padding: 32px 24px;
}

.api-page-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 32px 24px;
}

.page-container-fluid {
    padding: 0;
}

/* Section header spacing */
.section-header {
    padding: 40px 0 20px;
}

.text-center-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* ==============================================
   MODERN CARDS & LAYOUTS
   ============================================== */

/* Base modern card styling */
.modern-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: none;
    overflow: hidden;
    margin-bottom: 24px;
}

.modern-card-body {
    padding: 32px;
}

.modern-card-compact {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

/* API-specific modern cards */
.api-modern-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(71, 85, 105, 0.1);
    margin-bottom: 2rem;
}

.api-credentials-card {
    background: rgba(248, 250, 252, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.api-endpoint-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 1.5rem;
}

/* ==============================================
   PAGE HEADERS & BREADCRUMBS
   ============================================== */

/* Modern page headers */
.modern-page-header {
    text-align: center;
    color: #fff;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
}

.page-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* API page header styling */
.api-page-title {
    color: #475569;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.api-title-highlight {
    color: #e11d48;
}

.api-page-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumb-modern {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.breadcrumb-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-modern a:hover {
    color: #fff;
}

.api-breadcrumb {
    background: none;
    font-size: 14px;
}

.api-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.api-breadcrumb .active {
    color: #475569;
}

/* ==============================================
   TYPOGRAPHY HELPERS
   ============================================== */

.page-title-xl {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.welcome-title {
    font-size: 24px;
    color: #111827;
    margin-bottom: 4px;
}

.welcome-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.user-name {
    color: #3b82f6;
    font-weight: 600;
}

/* ==============================================
   MODERN TABLES
   ============================================== */

.modern-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-table thead th {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    font-weight: 600;
    padding: 1rem;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.modern-table tbody tr:hover {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(29, 78, 216, 0.05) 100%
    );
    transform: translateY(-1px);
}

.modern-table tbody td {
    padding: 1rem;
    border: none;
    vertical-align: middle;
}

/* ==============================================
   FORMS & INPUT CONTROLS
   ============================================== */

.form-group-modern {
    margin-bottom: 24px;
}

.form-label-modern {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.form-control-modern {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f9fafb;
    width: 100%;
}

.form-control-modern:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
}

.form-control-modern.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.select-modern {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.textarea-modern {
    min-height: 120px;
    resize: vertical;
}

.character-count {
    margin-top: 8px;
    padding: 12px 16px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 14px;
    color: #1e40af;
}

.character-count .count-item {
    margin-right: 16px;
    font-weight: 600;
}

.invalid-feedback {
    font-size: 14px;
    color: #ef4444;
    margin-top: 4px;
    display: block;
}

/* File upload styles */
.file-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-upload-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.file-upload-text {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    font-size: 0.875rem;
    color: #64748b;
}

.file-list {
    margin-top: 1rem;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Phone input container */
.phone-input-container {
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 600;
    pointer-events: none;
}

.phone-input {
    padding-left: 60px;
}

/* ==============================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================== */

/* Base modern button */
.modern-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Button variations */
.modern-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.modern-btn-primary:hover {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.modern-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modern-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modern-btn-danger:hover {
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
}

/* Specific button styles */
.btn-send {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    width: 100%;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-toggle {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
    margin-bottom: 16px;
}

.btn-toggle:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Action buttons */
.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.action-btn.blue {
    background: #3b82f6;
    color: white;
}

.action-btn.pink {
    background: #ec4899;
    color: white;
}

.action-btn.green {
    background: #10b981;
    color: white;
}

.action-btn:hover {
    color: white;
    transform: scale(1.05);
    text-decoration: none;
}

/* API copy button */
.api-copy-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.api-copy-button:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ==============================================
   BADGES & STATUS INDICATORS
   ============================================== */

/* Modern badges */
.modern-badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* API method badges */
.api-method-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.api-method-post {
    background: #059669;
    color: white;
}

.api-method-get {
    background: #3b82f6;
    color: white;
}

.api-method-delete {
    background: #ef4444;
    color: white;
}

/* Action badges */
.action-badge {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status badges */
.status-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-inactive {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Notification badges */
.sender-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.system-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.date-badge {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==============================================
   STATISTICS & METRIC CARDS
   ============================================== */

/* Base stats card */
.stats-card {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.stats-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard metric cards */
.metric-card {
    background: #ffffff;
    border-radius: 16px;
    /* padding: 24px; */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
    border-left: 4px solid;
}

.metric-card.pink {
    border-left-color: #e91e63;
}
.metric-card.blue {
    border-left-color: #2196f3;
}
.metric-card.orange {
    border-left-color: #ff9800;
}
.metric-card.green {
    border-left-color: #4caf50;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.metric-icon.pink {
    background: #e91e63;
}
.metric-icon.blue {
    background: #2196f3;
}
.metric-icon.orange {
    background: #ff9800;
}
.metric-icon.green {
    background: #4caf50;
}

.metric-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

/* Dashboard stats */
.stats-item {
    text-align: center;
    padding: 24px;
}

.stats-value {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

/* Failure rate card */
.failure-rate {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.failure-rate .badge-text {
    background: #ef4444;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}

.failure-rate .percentage {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 8px;
}

/* ==============================================
   FINANCIAL & TRANSACTION ELEMENTS
   ============================================== */

/* Balance summary */
.balance-summary {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.balance-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.balance-label {
    color: #64748b;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

/* Transaction icons */
.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.transaction-credit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.transaction-debit {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

/* Amount styling */
.amount-positive {
    color: #10b981;
    font-weight: 600;
}

.amount-negative {
    color: #ef4444;
    font-weight: 600;
}

/* Summary cards */
.summary-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    border: none;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table th,
.summary-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-table th {
    font-weight: 600;
    opacity: 0.9;
}

.summary-table .total-row th,
.summary-table .total-row td {
    border-bottom: none;
    font-size: 18px;
    font-weight: 700;
    padding-top: 20px;
}

/* ==============================================
   NOTIFICATIONS & ALERTS
   ============================================== */

.notification-unread {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    ) !important;
    border-left: 4px solid #3b82f6 !important;
}

.notification-read {
    background: #fff;
}

/* Alert boxes */
.keywords-info {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #92400e;
}

.keywords-info .keyword {
    background: #3b82f6;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-family: monospace;
}

/* ==============================================
   SHORTCODES & API ELEMENTS
   ============================================== */

/* Shortcode display */
.shortcode-display {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1d4ed8;
    text-align: center;
    min-width: 120px;
}

.shortcode-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: #fff;
}

.shortcode-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.shortcode-inactive {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* API code blocks */
.api-code-block {
    background: #1e293b;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    font-family: "Courier New", monospace;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    margin: 1rem 0;
}

.api-code-block pre {
    margin: 0;
    white-space: pre-wrap;
}

/* API status displays */
.api-status-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.api-status-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.api-status-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

/* ==============================================
   QUICK ACTIONS & DASHBOARD WIDGETS
   ============================================== */

.quick-action-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
}

.quick-action-card.blue {
    border-color: #bfdbfe;
    background: #eff6ff;
}
.quick-action-card.pink {
    border-color: #f9a8d4;
    background: #fdf2f8;
}
.quick-action-card.green {
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.action-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
}

.action-icon.blue {
    background: #3b82f6;
}
.action-icon.pink {
    background: #ec4899;
}
.action-icon.green {
    background: #10b981;
}

.action-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.action-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* ==============================================
   SMS & MESSAGING SPECIFIC
   ============================================== */

.sms-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 24px;
}

/* Filter sections */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 1rem;
}
.mb-4 {
    margin-bottom: 1.5rem;
}
.mb-5 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 1rem;
}
.mt-4 {
    margin-top: 1.5rem;
}
.mt-5 {
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}

.hide {
    display: none !important;
}
.show {
    display: block !important;
}

.w-100 {
    width: 100%;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* ==============================================
   ICON & INLINE ELEMENT UTILITIES
   ============================================== */

/* Icon spacing utilities */
.icon-mr-1 {
    margin-right: 0.25rem;
}
.mr-2 {
    margin-right: 0.5rem;
}
.icon-mr-3 {
    margin-right: 0.75rem;
}

/* Icon colors */
.icon-primary {
    color: #3b82f6;
}
.icon-success {
    color: #10b981;
}
.icon-danger {
    color: #ef4444;
}
.icon-warning {
    color: #f59e0b;
}

/* Character count specific */
.count-highlight {
    color: #3b82f6;
}

.cost-highlight {
    color: #10b981;
}

/* Empty state styling */
.empty-state {
    padding: 40px 20px;
    opacity: 0.8;
    text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state-text {
    margin: 0;
    font-size: 16px;
}

/* Button radius utility */
.btn-rounded {
    border-radius: 50px;
}

/* ==============================================
   AUTHENTICATION PAGES STYLES
   ============================================== */

/* Auth page spacing adjustments */
.gap-3 {
    gap: 1rem;
}

/* Social links in footer */
.gap-3 > a {
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.gap-3 > a:hover {
    color: #3b82f6 !important;
}

/* ==============================================
   SINGLE SMS PAGE SPECIFIC STYLES
   ============================================== */

/* Phone input styles */
.phone-input-container {
    position: relative;
}

.phone-input::before {
    content: "+254";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-weight: 500;
    pointer-events: none;
}

.phone-input {
    padding-left: 5px;
}

/* Summary section */
.summary-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    text-align: center;
}

.no-summary {
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
    font-style: italic;
}

/* ==============================================
   BULK SMS PAGE SPECIFIC STYLES
   ============================================== */

/* Contact input toggle styles */
.btn-toggle {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
    margin-bottom: 16px;
}

.btn-toggle:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Contact list styles */
.contact-list-container {
    margin-bottom: 24px;
}

.paste-area {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.paste-textarea {
    width: 100%;
    min-height: 100px;
    border: none;
    background: transparent;
    resize: vertical;
    font-family: monospace;
    font-size: 14px;
    color: #374151;
}

.paste-textarea:focus {
    outline: none;
}

.contact-help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

/* ==============================================
   STATEMENTS & RECORDS PAGE STYLES
   ============================================== */

/* Blue gradient statistics summary cards */
.stats-summary-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 32px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.stats-summary-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stats-item-white {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.stats-value-white {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stats-label-white {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Failure rate white theme */
.failure-rate-white {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.badge-text-white {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}

.percentage-white {
    font-size: 24px;
    font-weight: 700;
    color: #fef2f2;
    margin-bottom: 8px;
}

/* ==============================================
   PAGE HEADERS WITH BLUE BACKGROUND
   ============================================== */

/* Blue header for pages */
.modern-page-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    padding: 40px;
    border-radius: 20px 20px 0 0;
    color: white;
    text-align: center;
    margin-bottom: 0;
}

.modern-page-header .breadcrumb-modern {
    color: rgba(255, 255, 255, 0.8);
    background: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 14px;
}

.modern-page-header .breadcrumb-modern a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.modern-page-header .breadcrumb-modern a:hover {
    text-decoration: underline;
    color: white;
}

.modern-page-header .page-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 24px;
}

.modern-page-header .page-title-xl {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.modern-page-header .page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 8px 0 0 0;
}

/* ==============================================
   DEPOSIT PAGE STYLES
   ============================================== */

.deposit-instruction {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.deposit-instruction-title {
    color: #0ea5e9;
    font-weight: 600;
    margin-bottom: 8px;
}

.deposit-instruction-text {
    color: #0c4a6e;
    margin: 0;
    line-height: 1.5;
}

/* ==============================================
   ORGANIZATION SETUP STYLES
   ============================================== */

.org-setup-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.org-setup-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.org-setup-header {
    text-align: center;
    margin-bottom: 32px;
}

.org-setup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 24px;
}

.org-setup-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.org-setup-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* ==============================================
   CONTACT LIST ADMIN STYLES
   ============================================== */

.contact-list-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.contact-list-number {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 4px;
}

.contact-list-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==============================================
   HOME DASHBOARD ADDITIONAL STYLES
   ============================================== */

.welcome-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-header {
    text-align: center;
    margin-bottom: 32px;
}

/* ==============================================
   LIVEWIRE COMPONENT STYLES
   ============================================== */

.livewire-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 32px 24px;
}

.livewire-max-width {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==============================================
   NAVIGATION STYLES (FROM MASTER LAYOUT)
   ============================================== */

.modern-nav-item {
    margin-bottom: 8px;
}

.modern-nav-link {
    border-radius: 12px !important;
    margin: 0 16px;
    padding: 12px 16px !important;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
}

.modern-nav-link:hover,
.modern-nav-link.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transform: translateX(4px);
}

.modern-nav-icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

.nav-badge {
    background: #10b981;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* ==============================================
   ADDITIONAL UTILITY CLASSES
   ============================================== */

/* Form help text */
.form-help-text {
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Deposit specific styles */
.deposit-container {
    max-width: 600px;
}

.deposit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 24px;
}

.btn-deposit {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    width: 100%;
}

.btn-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.payment-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.payment-info-text {
    font-size: 14px;
    margin: 0;
}

.mpesa-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Transaction and financial specific styles */
.transaction-description {
    max-width: 300px;
}

.summary-credit-card {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(5, 150, 105, 0.1) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.summary-credit-title {
    color: #10b981;
    margin-bottom: 1rem;
}

.summary-credit-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.summary-debit-card {
    background: linear-gradient(
        135deg,
        rgba(239, 68, 68, 0.1) 0%,
        rgba(220, 38, 38, 0.1) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.summary-debit-title {
    color: #ef4444;
    margin-bottom: 1rem;
}

.summary-debit-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
}

/* Financial statement layout refresh */
.financial-statements-main {
    max-width: 100% !important;
    width: 100%;
    padding: 32px 32px 48px !important;
    margin: 0;
}

@media (min-width: 1400px) {
    .financial-statements-main {
        padding-right: 56px !important;
    }
}

@media (max-width: 767px) {
    .financial-statements-main {
        padding: 24px !important;
    }
}

.financial-statements-page {
    width: 100%;
}

.financial-hero-card {
    background: linear-gradient(135deg, #2563eb 0%, #0f172a 100%);
    color: #f8fafc;
    height: 100%;
}

.hero-period-chip {
    background: rgba(15, 23, 42, 0.35);
    border-radius: 14px;
    padding: 10px 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.financial-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.financial-hero-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    margin-bottom: 8px;
    color: rgba(248, 250, 252, 0.8);
}

.financial-hero-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #fff;
}

.financial-hero-subtitle {
    margin: 0;
    color: rgba(248, 250, 252, 0.8);
    max-width: 520px;
}

.financial-hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.financial-hero-meta .meta-card {
    background: rgba(15, 23, 42, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.meta-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 6px;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.financial-side-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.financial-chip {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.financial-balance-figure {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.financial-balance-figure small {
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.financial-balance-figure strong {
    font-size: 2.6rem;
    color: #0f172a;
    font-weight: 700;
}

.financial-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.financial-mini-grid span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.financial-mini-grid strong {
    font-size: 1.2rem;
}

.financial-mini-grid .positive {
    color: #059669;
}

.financial-mini-grid .negative {
    color: #dc2626;
}

.financial-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 20px;
}

.financial-meta-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #475569;
}

.financial-meta-list span {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.financial-meta-list strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.financial-summary-card {
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.financial-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.summary-item {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 18px 20px;
}

.summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
}

.summary-value {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.summary-value.positive {
    color: #0f9d58;
}

.summary-value.negative {
    color: #dc2626;
}

.financial-table-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.financial-table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.table-eyebrow {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
}

.table-title {
    margin: 4px 0 0;
    color: #0f172a;
}

.table-meta {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.financial-table-card .modern-table thead {
    background: #eef2ff;
}

.financial-table-card .modern-table thead th {
    border: none;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.financial-table-card .modern-table tbody tr {
    transition: background 0.2s ease;
}

.financial-table-card .modern-table tbody tr:hover {
    background: #f8fafc;
}

.financial-foot-card {
    border-radius: 18px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0f172a;
    border: 1px solid transparent;
}

.financial-foot-card--credit {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.1),
        rgba(34, 197, 94, 0.15)
    );
    border-color: rgba(16, 185, 129, 0.3);
}

.financial-foot-card--debit {
    background: linear-gradient(
        135deg,
        rgba(248, 113, 113, 0.1),
        rgba(239, 68, 68, 0.15)
    );
    border-color: rgba(239, 68, 68, 0.3);
}

.foot-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #475569;
    margin-bottom: 8px;
}

.foot-value {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.foot-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.foot-pill.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #047857;
}

.foot-pill.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

.financial-table-card .badge-light {
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 991px) {
    .financial-balance-pills {
        flex-direction: column;
    }

    .financial-table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Action section styles */
.action-section {
    margin-bottom: 2rem;
}

.action-section-title {
    color: #3b82f6;
    font-weight: 600;
}

/* Message preview */
.message-preview {
    max-width: 500px;
}

/* Contact preview for SMS records */
.contact-preview {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==============================================
   API CREDENTIALS SPECIFIC STYLES
   ============================================== */

/* Page headers and structure */
.auth-keys-title {
    color: #475569;
    font-weight: 600;
    margin-bottom: 5px;
}

.auth-keys-subtitle {
    margin: 0;
    font-size: 14px;
}

.api-doc-btn {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.25);
}

.api-doc-btn:hover {
    background: #047857;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.api-doc-btn i {
    font-size: 14px;
}

/* Security notice */
.security-notice-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #475569;
}

.security-icon {
    background: #475569;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.security-title {
    color: #475569;
    font-weight: 600;
    margin-bottom: 8px;
}

.security-text {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* API credentials cards */
.api-credentials-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
}

.credential-icon {
    background: #475569;
    color: white;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.credential-title {
    color: #475569;
    font-weight: 600;
    margin: 0;
}

.credential-subtitle {
    color: #64748b;
}

.credential-code-block {
    background: #1e293b;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.credential-code {
    color: #f1f5f9;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 13px;
    word-break: break-all;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #475569;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 12px;
    cursor: pointer;
}

/* Regenerate action section */
.regenerate-container {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.danger-icon {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.danger-title {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 5px;
}

.danger-text {
    color: #7f1d1d;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.regenerate-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.regenerate-btn:hover {
    background: #b91c1c;
    color: white;
}

/* No credentials state */
.no-credentials-container {
    padding: 60px 20px;
    text-align: center;
}

.no-credentials-icon {
    background: #f8fafc;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.no-credentials-icon i {
    color: #475569;
    font-size: 3rem;
}

.no-credentials-title {
    color: #475569;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-credentials-text {
    color: #64748b;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.generate-keys-btn {
    background: #475569;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.generate-keys-btn:hover {
    background: #334155;
    color: white;
    transform: translateY(-2px);
}

/* ==============================================
   SHORTCODES SPECIFIC STYLES
   ============================================== */

/* Breadcrumb link */
.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: white;
    text-decoration: none;
}

/* Info panels */
.info-panel-primary {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.info-panel-title-primary {
    color: #3b82f6;
    margin-bottom: 1rem;
}

.info-panel-danger {
    background: linear-gradient(
        135deg,
        rgba(239, 68, 68, 0.1) 0%,
        rgba(220, 38, 38, 0.1) 100%
    );
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.info-panel-title-danger {
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Responsive helpers */
@media (max-width: 768px) {
    .modern-card-body {
        padding: 1.5rem;
    }

    .stats-card {
        padding: 1.5rem;
    }

    .quick-action-card {
        padding: 1.5rem;
    }

    .balance-summary {
        padding: 1.5rem;
    }
}

/* ==============================================
   MOBILE-SPECIFIC FIXES FOR LANDING PAGE
   ============================================== */

/* Make navbar full width on mobile */
@media (max-width: 767px) {
    .navbar .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Align hero buttons horizontally on mobile */
@media (max-width: 767px) {
    /* Force buttons container to stay on same horizontal line */
    .landing-hero .hero-content .d-flex.flex-wrap {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        justify-content: flex-start !important;
    }

    /* Remove margin from first button */
    .landing-hero .hero-content .modern-btn.mr-3 {
        margin-right: 0 !important;
    }

    /* Fix the nested div that contains the second button */
    .landing-hero .hero-content .d-flex.gap-3.justify-content-end {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
    }

    /* Adjust button sizing for mobile - make them more compact */
    .landing-hero .hero-content .modern-btn {
        flex: 0 1 auto;
        white-space: nowrap;
        font-size: 0.7rem;
        padding: 0.5rem 0.65rem;
        min-width: 0;
        overflow: visible !important;
    }

    /* Ensure icons don't add too much width */
    .landing-hero .hero-content .modern-btn i {
        font-size: 0.75rem;
        margin-right: 0.25rem !important;
    }

    /* Ensure button text is visible */
    .landing-hero .hero-content .modern-btn {
        text-overflow: clip !important;
    }
}

/* Mobile responsive styles for stats cards */
@media (max-width: 767px) {
    .stats-number {
        font-size: 1rem !important;
    }

    .stats-label {
        font-size: 0.65rem !important;
        letter-spacing: 0.3px !important;
        line-height: 1.2 !important;
    }

    .stats-card {
        padding: 1rem !important;
    }
}
