/* Allgemeine Styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Container wrapper for sticky footer */
.container {
    flex: 1 0 auto;
}

/* Footer Styles */
.footer {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #dc3545 !important;
}

/* Karten Styles */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #f85032 0%, #e73827 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    border: none;
}

/* Input Styles */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Participant Item */
.participant-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.participant-item:hover {
    background: #e9ecef;
}

.participant-info {
    flex-grow: 1;
}

.participant-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

.participant-wish {
    color: #666;
    font-style: italic;
}

/* Exclusion Item */
.exclusion-item {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Link Items */
.link-item {
    background: #d1ecf1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.link-item-name {
    font-weight: bold;
    color: #0c5460;
    margin-bottom: 5px;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view {
    animation: fadeIn 0.5s ease;
}

/* Icons */
.display-1 {
    font-size: 5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .card-body.p-5 {
        padding: 2rem !important;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Copy Button Feedback */
.copy-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Success Message */
.success-animation {
    animation: pulse 0.5s ease;
}

/* Modal Improvements */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Shadow effects */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* Badge */
.badge {
    border-radius: 10px;
    padding: 5px 10px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

