/* 
 * Lenovo Konfigurationsassistent - Utilities CSS
 * Hilfsklassen, Animationen und andere nützliche Styles
 */

/* Visibility */
.hide {
    display: none !important;
}

.show {
    display: block !important;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

.pulse-out {
    animation: pulseOut 0.3s ease-in-out;
}

/* Spacing Utilities */
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-bold { font-weight: 600; }
.text-muted { color: var(--lenovo-gray); }
.text-primary { color: var(--lenovo-red); }
.text-dark { color: var(--lenovo-dark-gray); }

.text-sm { font-size: 0.85rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.2rem; }
.text-xl { font-size: 1.5rem; }

/* Flex Utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.flex-grow { flex-grow: 1; }

/* Border Utilities */
.border { border: 1px solid var(--lenovo-border); }
.border-top { border-top: 1px solid var(--lenovo-border); }
.border-bottom { border-bottom: 1px solid var(--lenovo-border); }
.border-left { border-left: 1px solid var(--lenovo-border); }
.border-right { border-right: 1px solid var(--lenovo-border); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Background Utilities */
.bg-white { background-color: white; }
.bg-light { background-color: var(--lenovo-light-gray); }
.bg-primary { background-color: var(--lenovo-red); }
.bg-dark { background-color: var(--lenovo-dark-gray); }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Budget Indicators */
.budget-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.budget-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.budget-dot.low {
    background-color: #4caf50;
}

.budget-dot.medium {
    background-color: #ff9800;
}

.budget-dot.high {
    background-color: #f44336;
}

.quality-indicator {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.quality-star {
    color: #ffc107;
    font-size: 1rem;
}

.quality-star.empty {
    color: #e0e0e0;
}

.aos-admin-info {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}