/**
 * TAKUM Multi-File Upload for CF7
 * Base frontend styles - override via theme or Customizer
 * (c) TAKUM.IO - https://takum.io
 */

.takum-mfu-field {
    width: 100%;
    margin: 0 0 14px;
}

.takum-mfu-zone {
    background: #0f0f0f;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}
.takum-mfu-zone:hover,
.takum-mfu-zone:focus,
.takum-mfu-zone.takum-mfu-over {
    border-color: #ceb04e;
    background: #151515;
    outline: none;
}

.takum-mfu-icon {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}
.takum-mfu-over .takum-mfu-icon { color: #ceb04e; }

.takum-mfu-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.takum-mfu-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 10px 0;
}

.takum-mfu-browse {
    display: inline-block;
    padding: 12px 26px;
    background: #ceb04e;
    color: #0A0A0A;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all .2s ease;
}
.takum-mfu-browse:hover {
    background: #b89a3f;
    transform: translateY(-1px);
}

.takum-mfu-count {
    position: absolute;
    bottom: 10px;
    right: 16px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.takum-mfu-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.takum-mfu-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 54px 14px 14px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    min-height: 56px;
    font-family: 'Inter', sans-serif;
}

.takum-mfu-ficon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
}

.takum-mfu-finfo {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.takum-mfu-fname {
    color: #3871e0;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.takum-mfu-fsize {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.takum-mfu-fbar {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 6px;
}
.takum-mfu-fbar span {
    display: block;
    height: 100%;
    width: 0;
    background: #3871e0;
    transition: width .3s ease;
}
.takum-mfu-done .takum-mfu-fbar span { background: #22c55e; }
.takum-mfu-failed .takum-mfu-fbar span { background: #ef4444; }

.takum-mfu-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
}

.takum-mfu-fremove {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 50%;
    color: #ef4444;
    cursor: pointer;
    transition: all .2s ease;
    padding: 0;
}
.takum-mfu-fremove:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 480px) {
    .takum-mfu-zone { padding: 24px 14px; }
    .takum-mfu-title { font-size: 0.85rem; }
    .takum-mfu-browse { padding: 10px 20px; font-size: 0.75rem; }
    .takum-mfu-row { padding: 12px 50px 12px 12px; }
}
