/* Kassensystem - Hauptstyles */

body {
    padding-top: 60px;
}

.stat-card {
    border-left: 4px solid #0d6efd;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.page-content {
    animation: fadeIn 0.3s ease-in;
}

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

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    width: 350px;
}

.toast-notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    animation: slideInRight 0.3s ease-out, fadeOut 0.3s ease-in 2.7s;
    animation-fill-mode: forwards;
    border-left: 4px solid;
}

.toast-notification.success {
    border-left-color: #198754;
}

.toast-notification.error {
    border-left-color: #dc3545;
}

.toast-notification.warning {
    border-left-color: #ffc107;
}

.toast-notification.info {
    border-left-color: #0dcaf0;
}

.toast-notification i {
    font-size: 1.5rem;
    margin-right: 12px;
}

.toast-notification.success i {
    color: #198754;
}

.toast-notification.error i {
    color: #dc3545;
}

.toast-notification.warning i {
    color: #ffc107;
}

.toast-notification.info i {
    color: #0dcaf0;
}

.toast-notification .toast-message {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
