/* Inline styles extracted from HTML files */

/* Breadcrumbs Styles */
.breadcrumbs {
    background-color: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.breadcrumb-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Copy button enhanced animations - Higher specificity */
.address-container .copy-button,
.key-actions .copy-button,
.copy-key-btn {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.address-container .copy-button:hover,
.key-actions .copy-button:hover,
.copy-key-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(43, 184, 230, 0.3) !important;
}

.address-container .copy-button:active,
.key-actions .copy-button:active,
.copy-key-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(43, 184, 230, 0.2) !important;
}

/* Copy success animation */
.address-container .copy-button.copy-success,
.key-actions .copy-button.copy-success,
.copy-key-btn.copy-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
}

.address-container .copy-button.copy-success .copy-icon,
.key-actions .copy-button.copy-success .copy-icon,
.copy-key-btn.copy-success .copy-icon {
    animation: copySuccessIconPulse 0.6s ease-out !important;
}

@keyframes copySuccessIconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Copy error animation */
.address-container .copy-button.copy-error,
.key-actions .copy-button.copy-error,
.copy-key-btn.copy-error {
    background: linear-gradient(135deg, #dc3545, #e74c3c) !important;
    animation: copyErrorShake 0.5s ease-in-out !important;
}

@keyframes copyErrorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Floating success indicator */
.copy-success-indicator {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-success-indicator.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.copy-success-indicator.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}

.copy-success-indicator::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #28a745;
}

/* PGP key button specific styles */
.copy-key-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.copy-key-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(43, 184, 230, 0.25);
}

.copy-key-btn.copy-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    transform: scale(1.05);
}

.copy-key-btn .btn-icon {
    transition: transform 0.3s ease;
}

.copy-key-btn:hover .btn-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Ripple effect for buttons */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced icon glow effect */
.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 184, 230, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-button:hover .icon-glow,
.copy-key-btn:hover .icon-glow {
    opacity: 1;
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

/* Mobile optimizations for copy functionality */
@media (max-width: 768px) {
    .copy-success-indicator {
        top: -35px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .address-container .copy-button:hover,
    .key-actions .copy-button:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 15px rgba(43, 184, 230, 0.2) !important;
    }
    
    .copy-key-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(43, 184, 230, 0.2) !important;
    }
}

/* Accessibility improvements */
.address-container .copy-button:focus,
.key-actions .copy-button:focus,
.copy-key-btn:focus {
    outline: 2px solid #31cafd !important;
    outline-offset: 2px !important;
}


/* HERO IMAGE SIZE INCREASE - HIGH SPECIFICITY */
.hero-image .preview-photo .hero-preview-image {
    max-height: 800px !important;
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* Mobile responsive hero image */
@media (max-width: 768px) {
    .hero-image .preview-photo .hero-preview-image {
        max-height: 600px !important;
    }
}

@media (max-width: 480px) {
    .hero-image .preview-photo .hero-preview-image {
        max-height: 450px !important;
    }
}
