/* SCF Dokumenty Repeater Widget - Frontend Styles */

.scf-repeater-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.scf-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid #cccccc;
    transition: all 0.2s ease;
}

.scf-doc-item:last-child {
    border-bottom: none;
}

.scf-doc-item:hover {
    background-color: #f9f9f9;
}

.scf-doc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.scf-doc-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
}

.scf-doc-link:hover .scf-doc-name {
    text-decoration: underline;
}

.scf-doc-name {
    font-size: 18px;
    font-weight: 600;
    color: #003d7a;
    line-height: 1.3;
    word-break: break-word;
    transition: text-decoration 0.2s ease;
}

.scf-doc-size {
    font-size: 14px;
    color: #999999;
    line-height: 1.4;
}

.scf-doc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: #003d7a;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.scf-doc-button:hover {
    background-color: #002654;
    transform: translateX(4px);
}

.scf-doc-button:active {
    transform: translateX(2px);
}

.scf-doc-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .scf-doc-item {
        padding: 16px;
        gap: 16px;
    }

    .scf-doc-name {
        font-size: 16px;
    }

    .scf-doc-size {
        font-size: 13px;
    }

    .scf-doc-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .scf-doc-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .scf-doc-item {
        padding: 12px;
        gap: 12px;
    }

    .scf-doc-name {
        font-size: 15px;
    }

    .scf-doc-size {
        font-size: 12px;
    }

    .scf-doc-button {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .scf-doc-button svg {
        width: 18px;
        height: 18px;
    }
}
