.search-box .input-group-text,
.search-box .form-control {
    border-color: #e9ecef;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: #e9ecef;
}

.results-container .result-item {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.results-container .result-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    cursor: pointer;
}

.modal-content {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.section-card {
    border-left: 4px solid #0d6efd;
}
.field-group {
    position: relative;
}

.repeatable-container {
    position: relative;
    padding: 1rem;
    margin: 1rem 0;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}
.upload-area {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-area:hover {
    border-color: #6c757d;
    background-color: #f1f3f5;
}

.upload-form input[type="file"] {
    margin-top: 1rem;
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.completion-check {
    font-size: 4rem;
    color: #198754;
}
.dashboard-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.btn-dashboard {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.btn-dashboard:hover {
    color: inherit;
    background-color: rgba(0, 0, 0, 0.02);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dashboard-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Custom subtle background colors */
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
}

@media (max-width: 768px) {
    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1.5rem !important;
    }
}
.permission-section .form-check {
    padding: 0.5rem 0;
}

.permission-section .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
}

.permission-section .form-check-label {
    padding-left: 0.5rem;
    font-size: 1rem;
}

.permission-section h6 {
    font-size: 0.9rem;
    font-weight: 600;
}

.permission-section .card-body {
    background-color: #fff;
}

.permission-section h5 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.permission-section .text-muted {
    color: #6c757d !important;
}

.permissions-grid {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}
.permission-checkbox-wrapper {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.permission-checkbox-wrapper:hover {
    border-color: #556ee6;
    box-shadow: 0 2px 6px rgba(85,110,230,0.15);
    transform: translateY(-1px);
}

.permission-checkbox-wrapper .form-check {
    margin: 0;
    min-height: auto;
}

.permission-checkbox-wrapper .form-check-input {
    float: none;
    margin-left: 0;
    width: 1.3em;
    height: 1.3em;
    border: 2px solid #556ee6;
    cursor: pointer;
    flex-shrink: 0;
}

.permission-checkbox-wrapper .form-check-input:checked {
    background-color: #556ee6;
    border-color: #556ee6;
}

.permission-checkbox-wrapper .form-check-input:disabled {
    cursor: not-allowed;
}

.permission-checkbox-wrapper .form-check-input:disabled ~ .form-check-label {
    color: #6c757d;
    cursor: not-allowed;
}

.permission-checkbox-wrapper .form-check-label {
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
}

.permission-label {
    flex: 1;
}

.permission-checkbox-wrapper:has(.form-check-input:checked) {
    background-color: #f8f9fe;
    border-color: #556ee6;
    box-shadow: 0 2px 6px rgba(85,110,230,0.15);
}

.permission-checkbox-wrapper:has(.form-check-input:disabled) {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* Animation for checkbox state change */
.form-check-input {
    transition: all 0.2s ease-in-out;
}

.form-check-input:checked {
    animation: checkmark 0.2s ease-in-out forwards;
}

@keyframes checkmark {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.avatar.avatar-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
}

.avatar.avatar-sm i {
    font-size: 20px;
}
.upload-area {
    transition: all 0.3s ease;
}
.upload-area.drag-over {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--bs-primary) !important;
}
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    overflow: hidden;
}

.flash-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.flash-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.flash-text {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
}

.flash-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    font-size: 14px;
    color: inherit;
}

.flash-close:hover {
    opacity: 1;
}

.flash-progress {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.flash-progress::after {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: progress 3s linear forwards;
}

.flash-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.flash-error {
    background: linear-gradient(135deg, #dc3545, #ef5350);
    color: white;
}

.flash-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.flash-info {
    background: linear-gradient(135deg, #17a2b8, #00bcd4);
    color: white;
}

.animate-flash {
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

@media (max-width: 480px) {
    .flash-message {
        width: calc(100% - 40px);
        min-width: 0;
        max-width: none;
    }
}
.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px) !important;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 2;
    padding-left: 0;
    color: #212529;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.select2-search--dropdown .select2-search__field {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.select2-results__option {
    padding: 0.25rem 0.5rem;
}

/* Form floating support - adjusted for smaller size */


.form-floating > .select2-container .select2-selection--single {
    height: 100% !important;
}
.custom-select-container{
    height: 100%;
}

#select2-country-container{
    padding-top: 20px;
    padding-left: 5px;
}
.form-floating > label {
    padding: 0.5rem 0.75rem;
}

/* Multiple select adjustments */
.select2-container .select2-selection--multiple {
    min-height: calc(2.25rem + 2px) !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 0.125rem 0.5rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 0.125rem;
    padding: 0.125rem 0.25rem;
    font-size: 0.875rem;
}
.partner-type-selector {
    border: 1px solid rgba(0,0,0,.05);
}

.form-check-lg {
    padding-left: 2rem;
}

.form-check-lg .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0;
}

.form-check-label {
    cursor: pointer;
}
.mdi-spin {
    animation: mdi-spin 2s infinite linear;
}

@keyframes mdi-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
.disabled-card {
    opacity: 0.7;
    cursor: not-allowed;
}

.disabled-card .btn-dashboard {
    pointer-events: none;
}

.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:not(.disabled-card):hover {
    transform: translateY(-5px);
}
.identification-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.identification-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.identification-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.identification-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #5b73e8;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.identification-item__info {
    flex: 1;
    padding: 0 1.5rem;
    min-width: 200px;
}

.identification-item__name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2d3436;
}

.identification-item__role {
    font-size: 0.813rem;
    color: #64748b;
    display: block;
    margin-top: 0.25rem;
}

.identification-item__status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    padding-left: 1rem;
}

.identification-item__label {
    font-size: 0.875rem;
    color: #64748b;
    white-space: nowrap;
}

.status-toggle {
    display: flex;
    gap: 0.5rem;
}

.status-pill {
    padding: 0.375rem 1rem;
    border-radius: 16px;
    font-size: 0.813rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    min-width: 60px;
    text-align: center;
}

.status-pill--active {
    background: #5b73e8;
    border-color: #5b73e8;
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .identification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .identification-item__info {
        padding: 0;
    }

    .identification-item__status {
        width: 100%;
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .status-toggle {
        width: 100%;
    }

    .status-pill {
        flex: 1;
    }
}
.identification-item__timestamps {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    padding-left: 1rem;
}

.identification-item__status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.identification-item__date-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.identification-item__date {
    font-size: 0.875rem;
    color: #2d3436;
    font-weight: 500;
}

@media (max-width: 768px) {
    .identification-item__timestamps {
        width: 100%;
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .identification-item__status-wrapper {
        width: 100%;
        align-items: flex-start;
    }
}
.check-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    gap: 1.5rem;
}

.check-item__select {
    padding-left: 0.5rem;
}

.check-item__info {
    min-width: 200px;
    flex: 1;
}

.check-item__name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2d3436;
}

.check-item__role {
    font-size: 0.813rem;
    color: #64748b;
    display: block;
    margin-top: 0.25rem;
}

.check-status__badge {
    padding: 0.375rem 0.75rem;
    border-radius: 16px;
    font-size: 0.813rem;
    font-weight: 500;
}

.check-status__badge--warning {
    background: #fff3e0;
    color: #ef6c00;
}

.check-status__badge--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.monitoring-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.monitoring-toggle__label {
    font-size: 0.875rem;
    color: #64748b;
    white-space: nowrap;
}

.check-item__actions {
    display: flex;
    gap: 0.5rem;
}

.btn-outline-secondary {
    border-color: #e2e8f0;
}

.btn-outline-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

@media (max-width: 1200px) {
    .check-item {
        flex-wrap: wrap;
    }

    .check-item__actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .check-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .check-item__info,
    .check-item__results,
    .check-item__monitoring,
    .check-item__actions {
        width: 100%;
        margin-top: 0.5rem;
    }

    .check-item__actions {
        flex-direction: column;
    }

    .monitoring-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}
.search-form {
    min-width: 300px;
}

.table th {
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.table td {
    vertical-align: middle;
    padding: 0.85rem 1rem;
}

.badge {
    padding: 0.5em 0.85em;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.badge-pill {
    border-radius: 20px;
    padding-left: 0.85em;
    padding-right: 0.85em;
}

.sort-icon {
    opacity: 0.5;
    transition: all 0.2s;
}

th a:hover .sort-icon {
    opacity: 1;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-icon {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr {
    cursor: pointer;
    transition: all 0.15s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.04);
}

.partner-row td:first-child {
    border-left: 3px solid transparent;
}

.partner-row:hover td:first-child {
    border-left: 3px solid #3b82f6;
}

.input-group {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.input-group .form-control {
    border-right: none;
    padding-left: 1rem;
    height: 42px;
}

.input-group .btn {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.empty-state {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

/* Animation for badge hover */
.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for the Add button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Styles for partner type badges */
.badge-entity-type {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.badge-entity-type i {
    margin-right: 0.3rem;
}

