/* Blockchain Verification Styles */

/* Status Container */
.blockchain-status-container {
    margin: 15px 0;
    padding: 0;
    position: relative;
    z-index: 1000;
    display: block !important; /* Force display */
}
.blockchain-info-tooltip {
    display: inline-block;
    margin-left: 5px;
    color: #6c757d;
    cursor: help;
    font-size: 14px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    background-color: #f8f9fa;
}

.blockchain-verification-notice {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #f0f8ff;
    border: 1px solid #b8daff;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #0c5460;
}

.blockchain-verification-notice i {
    font-size: 18px;
    margin-right: 10px;
    color: #007bff;
}

.blockchain-verification-notice span {
    font-size: 14px;
    font-weight: 500;
}

.blockchain-status {
  display: block !important; /* Force display */
  margin: 15px 0;
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #1a1a2e;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.3);
  border: 1px solid #4361ee;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1000; /* Ensure it appears above other elements */
  opacity: 1 !important;
  visibility: visible !important;
}

.blockchain-status-indicator {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 4px;
    border-left: 6px solid #ffc107;
    background-color: #fff8e1;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
    font-weight: 500;
}

.blockchain-status-indicator.success {
    border-left-color: #28a745;
    background-color: #e8f5e9;
}

.blockchain-status-indicator.error {
    border-left-color: #dc3545;
    background-color: #ffebee;
}

.blockchain-status-indicator .status-icon {
    margin-right: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.blockchain-status-indicator .status-icon.pending {
    color: #ffc107;
}

.blockchain-status-indicator .status-icon.success {
    color: #28a745;
}

.blockchain-status-indicator .status-icon.error {
    color: #dc3545;
}

.blockchain-status-indicator .status-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Blockchain Badge for Document Cards */
.blockchain-badge {
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    background-color: rgba(130, 71, 229, 0.1);
    color: #8247e5;
    border: 1px solid rgba(130, 71, 229, 0.2);
}

.blockchain-badge i {
    margin-right: 4px;
}

.document-card .blockchain-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* MetaMask animation */
@keyframes metamaskPulse {
    0% { box-shadow: 0 0 0 0 rgba(246, 133, 27, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(246, 133, 27, 0); }
    100% { box-shadow: 0 0 0 0 rgba(246, 133, 27, 0); }
}

.metamask-pulse {
    animation: metamaskPulse 1.5s infinite;
}
