/**
 * AVP Marija Widgets Styles
 */

/* Common Styles */
.avp-video-widget,
.avp-audio-widget,
.avp-file-widget {
    width: 100%;
}

.avp-section-title {
    margin: 0 0 15px 0;
    font-size: 1.25em;
    font-weight: 600;
}

.avp-item-name {
    margin: 0 0 8px 0;
    font-size: 0.95em;
    font-weight: 500;
}

/* Video Widget - Responsive Grid */
.avp-video-list {
    display: grid;
    gap: 20px;
}

.avp-video-item {
    width: 100%;
}

.avp-video-player {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #000;
    object-fit: cover;
}

/* Audio Widget */
.avp-audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.avp-audio-item {
    width: 100%;
}

.avp-audio-player {
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
}

/* File Widget - Responsive Grid */
.avp-file-list {
    display: grid;
    gap: 15px;
}

.avp-file-item {
    width: 100%;
}

.avp-file-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

.avp-file-link:hover {
    background-color: #e8e8e8;
}

.avp-file-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.avp-file-name {
    word-break: break-word;
}

/* Editor Placeholder */
.avp-editor-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 4px;
    color: #666;
}

.avp-editor-placeholder i {
    font-size: 2em;
    margin-bottom: 10px;
}

.avp-editor-placeholder span {
    font-size: 0.9em;
}
