/* 
 * Hauptstilbogen für Co-Founder.wtf
 */

/* Allgemeine Stile */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Select2 Anpassungen */
.select2-container--bootstrap-5 .select2-selection {
    border-radius: 5px;
    border: 1px solid #ced4da;
    min-height: 38px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    margin: 4px 4px 0 0;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #ced4da;
    border-radius: 0 0 5px 5px;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd;
}

/* Header-Stile */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    color: #0d6efd !important;
}

/* Card-Stile */
.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Avatar und Profilbilder */
.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
    border-radius: 50%;
}

/* Avatar-Platzhalter in verschiedenen Größen */
.avatar-placeholder-xs {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.avatar-placeholder-sm {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.avatar-placeholder-md {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.avatar-placeholder-lg {
    width: 100px;
    height: 100px;
    font-size: 40px;
}

.avatar-placeholder-xl {
    width: 120px;
    height: 120px;
    font-size: 48px;
}

/* Profilbild im Dashboard */
.profile-avatar-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 3px solid #fff;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Einheitliche Avatar-Stile */
.avatar-xs {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #fff;
    max-width: 100%;
}

.avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #fff;
    max-width: 100%;
}

.avatar-md {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    max-width: 100%;
}

.avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 2px solid #fff;
    max-width: 100%;
}

.avatar-xl {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 3px solid #fff;
    max-width: 100%;
}

/* Allgemeiner Avatar-Fix für alle Bilder */
img.rounded-circle {
    object-fit: cover;
    max-width: 100%;
}

/* Button-Stile */
.btn {
    border-radius: 5px;
    transition: all 0.2s ease;
}

.btn-primary, .badge.bg-primary {
    background-color: #0d6efd;
}

.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* Badge-Stile */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Chat und Nachrichtenstile */
.chat-bubble {
    border-radius: 18px;
    padding: 10px 15px;
    max-width: 75%;
    position: relative;
}

.chat-bubble.sent {
    background-color: #0d6efd;
    color: white;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.chat-bubble.received {
    background-color: #f1f1f1;
    border-bottom-left-radius: 4px;
}

/* Footer-Stile */
footer {
    margin-top: auto;
}

footer a {
    color: #555;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #0d6efd;
}

/* Responsive-Anpassungen */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Responsive Avatar-Größen */
    .profile-avatar-container {
        width: 100px;
        height: 100px;
    }
    
    .avatar-xl {
        width: 80px;
        height: 80px;
    }
    
    .avatar-lg {
        width: 70px;
        height: 70px;
    }
    
    .avatar-md {
        width: 50px;
        height: 50px;
    }
    
    .avatar-sm {
        width: 36px;
        height: 36px;
    }
    
    .avatar-xs {
        width: 28px;
        height: 28px;
    }
    
    /* Responsive Avatar-Platzhalter */
    .avatar-placeholder-xl {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .avatar-placeholder-lg {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .avatar-placeholder-md {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .avatar-placeholder-sm {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .avatar-placeholder-xs {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    /* Anpassung der Abstände für mobile Ansicht */
    .me-3 {
        margin-right: 0.5rem !important;
    }
    
    .me-2 {
        margin-right: 0.25rem !important;
    }
    
    /* Kleinere Schriftgrößen für mobile Ansicht */
    h1.h3 {
        font-size: 1.5rem;
    }
    
    /* Verbesserte Darstellung von Karten auf mobilen Geräten */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Verbesserte Darstellung von Listen auf mobilen Geräten */
    .list-group-item {
        padding: 0.75rem 1rem;
    }
    
    /* Verbesserte Darstellung von Badges auf mobilen Geräten */
    .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
} 