/* Coproduction Pending Notice Styles */
.coproduction-pending-notice {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px 6px 0 0;
    margin: -1px -1px 12px -1px;
    padding: 12px 16px;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.notice-text {
    color: #6c757d;
    font-size: 14px;
    flex: 1;
}

.notice-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.notice-actions .btn-sm {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
}

/* Dark theme */
[data-bs-theme="dark"] .coproduction-pending-notice {
    background: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .notice-text {
    color: #adb5bd;
}

/* Mobile */
@media (max-width: 768px) {
    .notice-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .notice-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Cross-post Header Styles */
.cross-post-header {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    margin: -1px -1px 0 -1px;
    position: relative;
}

.cross-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.cross-post-indication {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
}

/* Cross-post Status Styles */
.cross-post-status-pending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.cross-post-status-rejected {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

/* Dark theme for cross-post headers */
[data-bs-theme="dark"] .cross-post-header {
    background: #dc3545;
}

[data-bs-theme="dark"] .cross-post-status-pending {
    background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
}

[data-bs-theme="dark"] .cross-post-status-rejected {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
    color: #fff;
}

/* Cross-post Avatar Styles */
.cross-post-avatar-side {
    position: absolute !important;
    top: 30px !important;
    right: -5px !important;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Coproduction Avatar Styles */
.coproduction-avatar-side {
    position: absolute !important;
    top: 30px !important;
    right: -5px !important;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Dark theme for cross-post avatars */
[data-bs-theme="dark"] .cross-post-avatar-side {
    border-color: #343a40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Dark theme for coproduction avatars */
[data-bs-theme="dark"] .coproduction-avatar-side {
    border-color: #343a40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ensure the main avatar container has relative positioning for side avatars */
.avatars-container-vertical {
    position: relative;
}

/* Cross-post specific container styling */
.cross-post-accepted .avatars-container-vertical {
    padding-right: 20px; /* Make space for the side avatar */
}

/* Coproduction specific container styling */
.coproduction-accepted .avatars-container-vertical {
    padding-right: 20px; /* Make space for the side avatar */
}

/* Mobile responsiveness for cross-post avatars */
@media (max-width: 768px) {
    .cross-post-avatar-side {
        right: -10px;
        width: 35px !important;
        height: 35px !important;
    }
    
    .cross-post-avatar-side img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .cross-post-accepted .avatars-container-vertical {
        padding-right: 15px;
    }
}

/* Mobile responsiveness for coproduction avatars */
@media (max-width: 768px) {
    .coproduction-avatar-side {
        right: -10px;
        width: 35px !important;
        height: 35px !important;
    }
    
    .coproduction-avatar-side img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .coproduction-accepted .avatars-container-vertical {
        padding-right: 15px;
    }
}

/* Coproduction percentage input styling */
#coproductionPercentage {
    padding-left: 15px;
    padding-right: 15px;
}

#coproductionPercentage::placeholder {
    opacity: 0.6;
}