.progress-btn { position: relative; overflow: hidden; border: none; }
.progress-btn .progress-fill {
    position: absolute; top: 0; left: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.15); width: 0%;
    transition: width 0.1s linear; z-index: 1;
}
body.dark-mode .progress-btn .progress-fill { background: rgba(255, 255, 255, 0.2); }
.progress-btn span { position: relative; z-index: 2; pointer-events: none; }

.upload-zone { border: 2px dashed var(--glass-border); transition: all 0.3s ease; }
.upload-zone:hover { border-color: #0071e3; background: rgba(0, 113, 227, 0.02); }

body.dark-mode #loadingOverlay { background: rgba(30, 30, 30, 0.85) !important; }

.tool-card {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--glass-border);
    height: 100%;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #0071e3;
}
body.dark-mode .tool-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: #0071e3;
}
.tool-card .icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 113, 227, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #0071e3;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.tool-card:hover .icon-wrapper {
    background: #0071e3;
    color: white;
}