/*TODO uxper: theme code  -- jupiter --*/
/* Uxper Viewing Changelog System Styles */

/* Changelog Entry Styles */
.uxper-viewing-changelog {
    margin-bottom: 1.5rem;
}

.changelog-entry {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.changelog-entry:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.changelog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}


/* Status Selector Styles */
.uxper-status-selector {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.uxper-status-selector .form-control {
    border-radius: 4px;
}

.uxper-status-selector .form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.uxper-status-selector .form-control.is-invalid {
    border-color: #f44336;
}

.uxper-status-selector .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25);
}

.uxper-status-selector select option {
    padding: 10px;
}

.uxper-status-selector .btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.uxper-status-selector .btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.uxper-status-selector .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.uxper-status-selector .status-field {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Payment Summary Styles */
.payment-summary .payment-right li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.payment-summary .payment-right li:last-child {
    border-bottom: none;
}

.payment-summary .payment-right .left {
    flex: 1;
    color: #666;
}

.payment-summary .payment-right .right {
    flex: 0 0 auto;
    text-align: right;
    font-weight: 500;
}

/* Alert Styles */
.alert-info {
    background-color: #E3F2FD;
    border-color: #90CAF9;
    color: #1565C0;
}

/* Badge Styles */
.badge-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 4px;
}

.uxper-status-readonly .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .changelog-entry {
        padding: 1rem !important;
    }
    
    .changelog-icon {
        font-size: 18px !important;
    }
    
    .uxper-status-selector {
        padding: 1rem !important;
    }
    
    .uxper-status-selector .btn-primary {
        width: 100%;
    }
    
    .payment-right li {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-right .right {
        text-align: left;
    }

    .small.changelog_price_final {
        display: none;
    }
    .changelog-entry-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .changelog-entry-header .text-right {
        text-align: left !important;
        width: 100%;
    }
    .changelog_amount {
        font-size: 14px;
    }
}

/* Custom scrollbar for select dropdown */
.uxper-status-selector select::-webkit-scrollbar {
    width: 8px;
}

.uxper-status-selector select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.uxper-status-selector select::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.uxper-status-selector select::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Additional utility classes */
.text-600 {
    font-weight: 600;
}

.fs-md {
    font-size: 1.1rem;
}

.fs-7 {
    font-size: 0.9rem;
}

/* Status badge styles */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Print styles */
@media print {
    .uxper-status-selector {
        display: none;
    }
    
    .changelog-entry {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/*End TODO uxper: theme code -- jupiter --*/
