/**
 * Stream Tribute Modal Styles
 */

/* Modal Overlay */
.peteitcms-stream-tribute-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.peteitcms-stream-tribute-modal-overlay.active {
    opacity: 1;
}

/* Modal Container */
.peteitcms-stream-tribute-modal {
    background: #202c33;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.peteitcms-stream-tribute-modal.active {
    transform: scale(1);
    opacity: 1;
}

/* Modal Header */
.peteitcms-stream-tribute-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #3e4c56;
}

.peteitcms-stream-tribute-modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #00a884;
}

.peteitcms-stream-tribute-modal-icon i {
    display: inline-block;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.peteitcms-stream-tribute-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #e9edef;
    margin-bottom: 8px;
}

.peteitcms-stream-tribute-modal-subtitle {
    font-size: 16px;
    color: #8696a0;
}

.peteitcms-stream-tribute-modal-message {
    font-size: 16px;
    color: #8696a0;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Modal Content */
.peteitcms-stream-tribute-modal-content {
    padding: 30px;
}

/* Tribute Amount Selector */
.tribute-amount-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tribute-amount-btn {
    background: linear-gradient(135deg, #2a3942 0%, #202c33 100%);
    border: 2px solid #3e4c56;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tribute-amount-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00a884 0%, #008f6f 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tribute-amount-btn:hover::before {
    opacity: 0.1;
}

.tribute-amount-btn:hover {
    border-color: #00a884;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.2);
}

.tribute-amount-btn.selected {
    background: linear-gradient(135deg, #00a884 0%, #008f6f 100%);
    border-color: #00a884;
    transform: scale(1.05);
}

.tribute-amount-btn.selected .amount-value,
.tribute-amount-btn.selected .amount-label {
    color: white;
}

.amount-value {
    font-size: 28px;
    font-weight: 700;
    color: #e9edef;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.amount-label {
    font-size: 13px;
    font-weight: 600;
    color: #8696a0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Modal Buttons */
.peteitcms-stream-tribute-modal-buttons {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid #3e4c56;
}

.peteitcms-stream-tribute-modal-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.peteitcms-stream-tribute-modal-btn-cancel {
    background: #2a3942;
    color: #8696a0;
}

.peteitcms-stream-tribute-modal-btn-cancel:hover {
    background: #3e4c56;
    color: #e9edef;
}

.peteitcms-stream-tribute-modal-btn-confirm {
    background: linear-gradient(135deg, #00a884 0%, #008f6f 100%);
    color: white;
}

.peteitcms-stream-tribute-modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.4);
}

/* Simple Modal (for success/error messages) */
.peteitcms-stream-tribute-modal-simple {
    max-width: 400px;
    padding: 40px 30px 30px;
    text-align: center;
}

.peteitcms-stream-tribute-modal-simple .peteitcms-stream-tribute-modal-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.peteitcms-stream-tribute-modal-simple .peteitcms-stream-tribute-modal-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.peteitcms-stream-tribute-modal-simple .peteitcms-stream-tribute-modal-buttons {
    border-top: none;
    padding: 20px 0 0 0;
}

/* Responsive */
@media (max-width: 600px) {
    .tribute-amount-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .peteitcms-stream-tribute-modal {
        width: 95%;
    }
    
    .peteitcms-stream-tribute-modal-header,
    .peteitcms-stream-tribute-modal-content {
        padding: 20px;
    }
    
    .amount-value {
        font-size: 24px;
    }
}

/* Likes Modal */
.peteitcms-stream-likes-modal {
    max-width: 450px;
}

.likes-modal-content {
    max-height: 400px;
    overflow-y: auto;
}

.likes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.likes-list-empty {
    text-align: center;
    padding: 30px;
    color: #8696a0;
    font-size: 15px;
}

.likes-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #2a3942;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.likes-list-item:hover {
    background: #3e4c56;
}

.likes-list-avatar {
    flex-shrink: 0;
}

.likes-list-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3e4c56;
}

.likes-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left !important;
}

.likes-list-name {
    font-size: 15px;
    font-weight: 600;
    color: #e9edef;
    text-decoration: none;
    transition: color 0.2s ease;
}

.likes-list-name:hover {
    color: #00a884;
}

.likes-list-time {
    font-size: 13px;
    color: #8696a0;
}

/* Scrollbar für Likes-Liste */
.likes-modal-content::-webkit-scrollbar {
    width: 6px;
}

.likes-modal-content::-webkit-scrollbar-track {
    background: #2a3942;
    border-radius: 3px;
}

.likes-modal-content::-webkit-scrollbar-thumb {
    background: #3e4c56;
    border-radius: 3px;
}

.likes-modal-content::-webkit-scrollbar-thumb:hover {
    background: #8696a0;
}
