/* Enhanced popover arrow */
.popover .popover-arrow::after {
    border-color: #ffffff;
    border-width: 8px;
}

.popover.bs-popover-left .popover-arrow::after {
    border-left-color: #ffffff;
}

.popover.bs-popover-right .popover-arrow::after {
    border-right-color: #ffffff;
}

.popover.bs-popover-top .popover-arrow::after {
    border-top-color: #ffffff;
}

.popover.bs-popover-bottom .popover-arrow::after {
    border-bottom-color: #ffffff;
}

/* Animation for the shield icon */
.fa-shield-halved {
    transition: all 0.2s ease-in-out;
}

.fa-shield-halved:hover {
    transform: scale(1.1);
}

/* Custom popover content styling */
.document-verification-popover {
    min-width: 250px;
}

.document-verification-popover .verification-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.document-verification-popover .verification-message {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #6b7280;
}

/* Status-specific colors */
.verification-verified {
    color: #059669;
}

.verification-pending {
    color: #dc2626;
}

/* Enhanced shield icon styling */
.document-verification-shield {
    position: relative;
    z-index: 10;
}

.document-verification-shield::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.document-verification-shield:hover::before {
    opacity: 1;
}

/* Popover content animations */
.document-verification-popover {
    animation: fadeInScale 0.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Documents Not Verified Page Styles */
.documents-not-verified-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.documents-not-verified-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.documents-not-verified-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .documents-not-verified-container {
        padding: 1rem;
    }

    .documents-not-verified-card {
        margin: 0;
        border-radius: 0;
    }

    .tw-flex-col.sm\:tw-flex-row {
        flex-direction: column;
    }

    .tw-gap-4 {
        gap: 0.75rem;
    }

    .tw-p-8 {
        padding: 1.5rem;
    }

    .tw-text-2xl {
        font-size: 1.5rem;
    }

    .tw-w-16.tw-h-16 {
        width: 3rem;
        height: 3rem;
    }

    .tw-text-2xl.tw-text-red-600 {
        font-size: 1.25rem;
    }
}

/* Button hover effects */
.documents-not-verified-container .tw-bg-blue-600:hover,
.documents-not-verified-container .tw-bg-green-600:hover,
.documents-not-verified-container .tw-bg-gray-600:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

/* Focus states for accessibility */
.documents-not-verified-container a:focus,
.documents-not-verified-container button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 0.5rem;
}