/* upload-tool.css is loaded via <link> in HTML — no @import needed */

/* ========================================
   EMPREINTE (HASH) PAGE - SPECIFIC STYLES
   Page-specific overrides & unique selectors
   ======================================== */

/* Empreinte Hero Badge (orange theme) */
.hero-badge {
    background: var(--se-orange-bg);
    border: 2px solid var(--se-orange);
    color: var(--se-orange);
}

/* File icon color (generic = orange) */
.file-info i {
    font-size: 2rem;
    color: var(--se-orange);
}

/* Result Section visibility */
.result-section:has(.hash-result[style*="display: block"]),
.result-section:has(.hash-result:not([style*="display: none"])) {
    padding: 40px 0 80px;
}

/* Hash Result */
.hash-result {
    margin-top: 40px;
    padding: 40px;
    border-radius: var(--radius-lg);
    animation: slideIn 0.4s ease-out;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid var(--se-success);
}

.hash-result .result-icon {
    color: var(--se-success);
}

.hash-result .result-title {
    color: var(--se-success);
}

/* Hash Display */
.hash-display {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.hash-type {
    font-weight: 700;
    color: var(--se-navy);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.hash-value-container {
    position: relative;
    background: var(--se-offwhite);
    padding: 15px 50px 15px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--se-gray-border);
}

.hash-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--se-navy);
    word-break: break-all;
    line-height: 1.6;
}

/* Copy Button */
.btn-copy {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--se-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:hover {
    background: var(--se-orange-dark);
    transform: translateY(-50%) scale(1.05);
}

.btn-copy i {
    font-size: 0.9rem;
}

/* Copy Success Message */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--se-success);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    z-index: 10000;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.copy-success i {
    font-size: 1.2rem;
}

/* Responsive - Empreinte-specific */
@media (max-width: 768px) {
    .hash-value-container {
        padding: 15px 15px 50px 15px;
    }

    .btn-copy {
        right: 50%;
        top: auto;
        bottom: 10px;
        transform: translateX(50%);
    }

    .btn-copy:hover {
        transform: translateX(50%) scale(1.05);
    }
}
