* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    pointer-events: none;
}

.settings-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
}

.settings-avatar-wrapper img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bs-primary, #0000ff);
    box-shadow: 0 4px 20px rgba(115, 103, 240, 0.35);
    transition: opacity 0.3s;
}

.settings-avatar-wrapper:hover img {
    opacity: 0.85;
}

.avatar-upload-overlay {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    background: var(--bs-primary, #0000ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(115, 103, 240, 0.5);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.avatar-upload-overlay:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(115, 103, 240, 0.6);
}

.avatar-upload-overlay i {
    color: #fff;
    font-size: 14px;
}

#avatarInput {
    display: none;
}

.settings-banner {
    background: linear-gradient(135deg, #0000ff 0%, #9e95f5 50%, #ce9ffc 100%);
    border-radius: 0.5rem 0.5rem 0 0;
    height: 130px;
    position: relative;
    overflow: hidden;
}

.settings-banner::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.settings-banner::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.settings-card {
    border: none;
    box-shadow: 0 4px 24px rgba(38, 38, 38, 0.08);
    border-radius: 0.5rem;
}

.settings-card .card-body-form {
    padding: 2rem;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.825rem;
    color: #000;
    margin-bottom: 0.4rem;
}

.input-group-custom .form-control,
.input-group-custom .input-group-text {
    background: var(--bs-body-bg);
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    background: #e0e0e0;
    overflow: hidden;
    margin-top: 0.4rem;
}

.strength-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition:
        width 0.4s,
        background-color 0.4s;
}

.strength-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.btn-save {
    background: linear-gradient(135deg, #0000ff, #9e95f5);
    border: none;
    color: #fff;
    padding: 0.65rem 2.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition:
        box-shadow 0.25s,
        transform 0.2s;
}

.btn-save:hover {
    box-shadow: 0 6px 20px rgba(115, 103, 240, 0.55);
    transform: translateY(-1px);
    color: #fff;
}

.btn-cancel {
    padding: 0.65rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

.settings-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    min-width: 260px;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.75rem 0 1.25rem;
}

.section-divider span {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
}

.section-divider hr {
    flex: 1;
    margin: 0;
    border-color: rgba(0, 0, 0, 0.08);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.numeral-mask-wrapper .form-control {
    width: 45px;
    height: 50px;
    font-size: 26px;
    padding: 0 !important;
    text-align: center;
}

.swal-large {
    width: 500px !important;
    padding: 2rem !important;
}

.swal-title-large {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

.swal-text-large {
    font-size: 1.1rem !important;
}

.auth-input {
    background-color: #f8f9fa;
    border: 1px solid #dbdade;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-input:focus {
    border-color: #0000ff;
    box-shadow: 0 0 0.25rem 0.05rem rgba(115, 103, 240, 0.1);
    outline: 0;
}

.readonly-input {
    background-color: #f8f9fa !important;
    cursor: not-allowed;
}

.bg {
    background-image: url("../images/k.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

/* Email Submissions Admin Page Styles */
/* Standardized Modal Scrollbar Styles */
.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #0000ff;
    border-radius: 10px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background: #0000ff;
}

.submission-section {
    background: #fff;
    border: 1px solid #ebeef2;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(147, 158, 170, 0.08);
}

.submission-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f4;
}

.submission-section-icon {
    width: 32px;
    height: 32px;
    background: rgba(115, 103, 240, 0.1);
    color: #0000ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

.submission-section-title {
    font-weight: 600;
    color: #5d596c;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-label {
    font-weight: 500;
    font-size: 0.75rem;
    color: #a1acb8;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.detail-value {
    color: #5d596c;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.5;
}

.badge-verified {
    background-color: rgba(40, 199, 111, 0.15) !important;
    color: #28c76f !important;
}

.badge-pending {
    background-color: rgba(255, 159, 67, 0.15) !important;
    color: #ff9f43 !important;
}

/* Custom Status Colors - Dark Solid Version */
.status-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
    font-weight: 600;
}

.status-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    font-weight: 600;
}

.status-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
    font-weight: 600;
}

.status-info {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
    font-weight: 600;
}

.status-primary {
    background-color: #007bff !important;
    color: #ffffff !important;
    font-weight: 600;
}

.premium-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(105, 108, 255, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.badge {
    width: fit-content !important;
}

.w-fit {
    width: fit-content !important;
}

.stat-icon i {
    font-size: 2.25rem !important;
}

/* Hover animations removed per user request for cleaner appearance */
.welcome-banner {
    background: #0000ff;
    border-radius: 16px;
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
}

.otp-control {
    width: 45px !important;
    height: 50px !important;
    font-size: 24px !important;
}

.z-index-9999 {
    z-index: 9999 !important;
}

.welcome-submit-btn {
    background: white !important;
    border-radius: 10px !important;
}

/* Force Swal to appear above sticky sidebar/navbar */
.swal2-container {
    z-index: 9999 !important;
}

.profile-card-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('/assets_ds/images/1.png');
    background-size: cover;
    background-position: center;
}

.status-invention-banner {
    background: #0000ff !important;
    color: white !important;
    border: none !important;
}

.status-avatar-lg {
    width: 80px !important;
    height: 80px !important;
    font-size: 2rem !important;
}

.status-avatar-circle {
    width: 80px !important;
    height: 80px !important;
    font-size: 2rem !important;
}

.invention-selector-custom {
    max-width: 380px !important;
}

.chat-container-custom {
    max-height: 500px !important;
    background: #f8f9fa !important;
}

.chat-bubble-custom {
    line-height: 1.6 !important;
    border-radius: 12px !important;
}

.img-fit-contain {
    object-fit: contain !important;
}

.bg-light-readonly {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
}

.breadcrumb-custom {
    font-size: 0.78rem !important;
}

.nav-title-custom {
    font-size: 1rem !important;
}

.dropdown-menu-custom {
    min-width: 320px !important;
}

.notif-badge-custom {
    font-size: 0.6rem !important;
    padding: 0.2rem 0.35rem !important;
    position: absolute !important;
    transform: translate(50%, -50%) !important;
}

.status-badge-mini {
    font-size: 0.7rem !important;
}

.col-w-50 {
    width: 50px !important;
}

.modal-rounded-16 {
    border-radius: 16px !important;
}

.detail-value-indicator {
    border-left: 4px solid #696cff !important;
}

.shadow-lg-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.max-h-400 {
    max-height: 400px !important;
}

.max-h-250 {
    max-height: 250px !important;
}

.max-h-200 {
    max-height: 200px !important;
}

.otp-wrapper-custom {
    gap: 8px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.status-info-icon-wrapper {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    color: white !important;
}

/* Status Page Timeline Styles */
.timeline-wrapper {
    position: relative;
    padding-top: 0.5rem;
}

.timeline-col {
    min-width: 44px;
    align-items: center;
}

.timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.timeline-dot.done {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.timeline-dot.pending {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.timeline-line {
    width: 3px;
    flex-grow: 1;
    min-height: 30px;
    border-radius: 4px;
    margin: 4px 0;
}

.timeline-line.done {
    background: linear-gradient(to bottom, #28a745, #20c997);
}

.timeline-line.pending {
    background: linear-gradient(to bottom, #ffc107, #dee2e6);
}

.timeline-content {
    flex: 1;
    min-width: 0;
    padding-top: 8px;
}

.feedback-box {
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 6px;
}

.feedback-admin {
    background: rgba(105, 108, 255, 0.08);
    border-left: 3px solid #696cff;
}

.feedback-done {
    background: rgba(40, 167, 69, 0.08);
    border-left: 3px solid #28a745;
}

/* New Submission Page Styles */
:root {
    --color-primary: #0000ff;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
}

.step-item.active .step-number,
.step-item.completed .step-number {
    background: var(--color-primary);
    color: #fff;
}

.step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

.step-line {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    z-index: 1;
}

.step-item:last-child .step-line {
    display: none;
}

.step-item.completed .step-line {
    background: var(--color-primary);
}

.invention-form-wrapper {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.form-section {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group .required-asterisk {
    color: #e53935;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid var(--color-primary);
    transition: none !important;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-item,
.checkbox-item-vertical {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
    flex: 0 0 calc(50% - 7.5px);
    position: relative;
}

.checkbox-item:hover,
.checkbox-item-vertical:hover {
    border-color: var(--color-primary);
    background-color: transparent;
    box-shadow: none;
}

.bulb-icon-wrapper {
    font-size: 3.5rem;
    opacity: 1;
    color: #ffffff !important;
}

.premium-card-custom {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: none !important;
}

.other-desc-group {
    display: none;
    margin-top: 15px;
}


.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"],
.checkbox-item-vertical input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer !important;
}

.checkbox-item:has(input[type="checkbox"]:checked),
.checkbox-item:has(input[type="radio"]:checked),
.checkbox-item-vertical:has(input[type="checkbox"]:checked) {
    border: 2px solid var(--color-primary) !important;
    border-radius: 4px;
    padding: 10px;
    transition: none !important;
}

.checkbox-item input[type="checkbox"]:checked+span,
.checkbox-item input[type="radio"]:checked+span,
.checkbox-item-vertical input[type="checkbox"]:checked+span {
    color: var(--color-primary);
    font-weight: 600;
}

.checkbox-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-item-vertical {
    flex: 0 0 100%;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-navigation button {
    flex: 1;
    max-width: 200px;
}

.policy-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 14px;
}

.final-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

.tmp-btn {
    background: #0000ff;
    border: none;
    padding: 10px 25px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: opacity .2s;
}

.tmp-btn:hover {
    opacity: 0.88;
}

.btn-border {
    background: transparent !important;
    border: 2px solid #0000ff !important;
    color: #0000ff !important;
}

.btn-border:hover {
    background: #0000ff !important;
    color: #fff !important;
}

.readonly-input {
    background: #f5f5f5 !important;
    cursor: not-allowed !important;
}

.file-upload-wrapper {
    border: 2px dashed #e1e1e1;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--color-primary);
    background: #f0f7ff;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.file-list {
    margin-top: 20px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 12px;
    color: #888;
}

.remove-file {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.remove-file:hover {
    color: #e60000;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .progress-steps {
        overflow-x: auto;
        padding: 10px 5px;
        gap: 12px;
    }

    .step-item {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .step-label {
        font-size: 10px;
        white-space: nowrap;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-line {
        display: none;
    }

    .checkbox-item {
        flex: 0 0 100%;
    }
}

/* ===========================
   New Submission Utilities
   =========================== */
.bulb-icon-wrapper {
    font-size: 3.5rem;
    opacity: 1;
    color: #ffffff !important;
}

.premium-card-custom {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: none !important;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block !important;
}

.other-desc-group {
    display: none;
    margin-top: 15px;
}

/* ===========================
   Responsive Refinements 
   =========================== */
@media (max-width: 768px) {
    .nav-title-custom {
        font-size: 15px !important;
    }

    .breadcrumb-custom {
        display: flex !important;
        font-size: 11px !important;
        margin-top: 0 !important;
    }

    .breadcrumb-custom .breadcrumb-item,
    .breadcrumb-custom .breadcrumb-item a {
        font-size: 11px !important;
    }

    .welcome-banner h2 {
        font-size: 15px !important;
    }

    .card-header h5,
    .card-header h4 {
        font-size: 1.1rem !important;
    }

    .btn-primary.js-i18n {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }

    .container-xxl .row.g-4.mb-4 h4 {
        font-size: 1.25rem !important;
    }

    .welcome-banner h2 {
        font-size: 15px !important;
    }
}

@media (max-width: 576px) {
    .nav-title-custom {
        font-size: 15px !important;
        margin-bottom: 0px !important;
    }

    .breadcrumb-custom {
        margin-top: 0px !important;
        font-size: 10px !important;
    }

    .breadcrumb-custom .breadcrumb-item,
    .breadcrumb-custom .breadcrumb-item a {
        font-size: 10px !important;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .card-header .btn {
        width: 100%;
        justify-content: center;
    }

    .welcome-banner {
        padding: 1.5rem !important;
    }

    .welcome-banner h2 {
        font-size: 15px !important;
    }

    .welcome-banner p {
        font-size: 11px !important;
    }

    .premium-card .card-header h4 {
        font-size: 1rem !important;
    }

    .premium-card .card-header p.small {
        font-size: 0.75rem !important;
    }

    .premium-card .stat-icon {
        width: 42px !important;
        height: 42px !important;
    }

    .premium-card .stat-icon i {
        font-size: 1.5rem !important;
    }
}

/* Dashboard UI Refinement */
.row-blink {
    animation: blinker 1.5s linear infinite;
    background-color: rgba(115, 103, 240, 0.05) !important;
}

@keyframes blinker {
    50% {
        opacity: 0.6;
    }
}

.btn-disabled-custom {
    pointer-events: none !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    filter: grayscale(0.5);
}

.text-danger i,
.text-danger span {
    color: #ea5455 !important;
}

/* ===========================
   Animated Widget Styles
   =========================== */
.widget-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 480px;
    max-width: 1000px;
    margin: 0 auto;
}

.left-column {
    width: 320px;
    height: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    z-index: 2;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s;
    height: 72px;
    box-sizing: border-box;
}

.feature-card.active {
    opacity: 1;
}

.feature-card.type-user.active {
    border-color: #f97316;
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.15);
}

.feature-card.type-sub.active {
    border-color: #334155;
    box-shadow: 0 6px 15px rgba(51, 65, 85, 0.15);
}

.feature-card.type-other.active {
    border-color: #16a34a;
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.15);
}

.center-column {
    flex-grow: 1;
    position: relative;
    height: 100%;
    pointer-events: none;
    min-width: 150px;
    z-index: 1;
}

svg.connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.base-line {
    fill: none;
    stroke: #cbd5e1;
    stroke-width: 2;
}

.pulse-line {
    fill: none;
    stroke: var(--bs-primary, #0000ff);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px var(--bs-primary, #0000ff));
}

.right-column {
    width: 320px;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.stats-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-row span {
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
}

.badge-pill {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.badge-orange {
    background: #ffedd5;
    color: #c2410c;
}

.badge-dark {
    background: #f1f5f9;
    color: #334155;
}

.badge-green {
    background: #dcfce7;
    color: #16a34a;
}

@media (max-width: 991px) {
    .widget-wrapper {
        flex-direction: column;
        height: auto;
        gap: 24px;
    }

    .left-column {
        width: 100%;
        height: 260px;
    }

    .center-column {
        display: none;
    }

    .right-column {
        width: 100%;
    }

    .stats-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .left-column {
        height: 200px;
    }

    .feature-card {
        height: 64px;
        padding: 12px;
    }

    .stats-card h4 {
        font-size: 1rem;
    }

    .badge-pill {
        font-size: 0.8rem;
        padding: 4px 10px;
        min-width: 50px;
    }
}


/* ===========================
   Bank Allocation UI
   =========================== */
.bank-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.bank-checkbox-card {
    position: relative;
    flex: 0 0 calc(50% - 7.5px);
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease-in-out;
    background: #fff;
}

.bank-checkbox-card:hover {
    border-color: var(--bs-primary);
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bank-checkbox-card.selected {
    border-color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.08);
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.bank-checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Pipeline Style Strength Bar */
.strength-pipeline {
    display: flex;
    gap: 4px;
    height: 6px;
    width: 100%;
}

.pipeline-segment {
    flex: 1;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.pipeline-segment.active-red { background-color: #ea5455 !important; }
.pipeline-segment.active-orange { background-color: #ff9f43 !important; }
.pipeline-segment.active-cyan { background-color: #00cfe8 !important; }
.pipeline-segment.active-green { background-color: #28c76f !important; }

.bank-card-name {
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 4px;
    display: block;
}

.bank-card-holder {
    font-size: 0.85rem;
    color: #555;
    display: block;
}

.bank-card-number {
    font-family: monospace;
    font-size: 0.9rem;
    color: #333;
    background: #eee;
    padding: 2px 5px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.bank-card-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--bs-primary);
    display: none;
}

.bank-checkbox-card.selected .bank-card-check {
    display: block;
}

@media (max-width: 576px) {
    .bank-checkbox-card {
        flex: 0 0 100%;
    }
}

/* PDF Submission Report Styles */
.pdf-export-wrapper {
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    font-size: 13px;
    background-color: #fff;
    width: 100%;
}
.pdf-export-wrapper .header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #0000ff;
    padding-bottom: 10px;
}
.pdf-export-wrapper .logo {
    max-width: 140px;
    margin-bottom: 10px;
}
.pdf-export-wrapper .report-title {
    font-size: 22px;
    color: #0000ff;
    margin: 0;
    text-transform: uppercase;
}
.pdf-export-wrapper .meta-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.pdf-export-wrapper .section {
    margin-bottom: 20px;
    page-break-inside: avoid;
}
.pdf-export-wrapper .section-header {
    background-color: #f8f7ff;
    padding: 8px 12px;
    border-left: 5px solid #0000ff;
    margin-bottom: 12px;
}
.pdf-export-wrapper .section-title {
    font-size: 15px;
    font-weight: bold;
    color: #0000ff;
    margin: 0;
}
.pdf-export-wrapper .row {
    width: 100%;
    margin-bottom: 0px;
    clear: both;
}
.pdf-export-wrapper .col {
    float: left;
    margin-bottom: 10px;
}
.pdf-export-wrapper .col-half {
    width: 49%;
}
.pdf-export-wrapper .col-full {
    width: 100%;
}
.pdf-export-wrapper .label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}
.pdf-export-wrapper .value {
    font-size: 13px;
    font-weight: 500;
}
.pdf-export-wrapper .description-box {
    background-color: #fafafa;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 12px;
    white-space: pre-wrap;
    margin-top: 3px;
}
.pdf-export-wrapper .footer {
    position: fixed;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 25px;
    text-align: center;
    font-size: 10px;
    color: #aaa;
    border-top: 1px solid #eee;
    padding-top: 8px;
}
.pdf-export-wrapper .badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}
.pdf-export-wrapper .status-badge { background-color: #0000ff; }

.pdf-export-wrapper .feedback-box {
    background-color: #fffaf0;
    padding: 12px;
    border: 1px solid #ff9f43;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
}

.pdf-export-wrapper .check-mark { color: #28c76f; font-weight: bold; font-family: DejaVu Sans, sans-serif; }
.pdf-export-wrapper .cross-mark { color: #ea5455; font-weight: bold; font-family: DejaVu Sans, sans-serif; }

.pdf-export-wrapper .clear { clear: both; }
.pdf-export-wrapper .page-break { page-break-after: always; }