html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
    padding: 20px 40px 20px 0 !important;
    margin-left: 10px !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

h2, h4 {
    font-weight: 600;
    color: #707070 !important;
}

p, span {
    color: #707070 !important;
}

.persona-card img {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 0.5rem;
    transition: border 0.2s ease-in-out;
    width: 100%;
    object-fit: cover;
}

.persona-card.selected img {
    border-color: #94c11a;
}

.chat-entry {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .chat-entry.fade-in {
        animation: fadeIn 0.4s ease-in-out forwards;
    }

    .chat-entry .question {
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #707070 !important;
    }

    .chat-entry .answer {
        padding-left: 0.5rem;
    }

.save-btn {
    display: inline-block;
    padding: 0.5rem 1rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

    .save-btn.saved {
        background-color: orange !important;
        color: white;
        border-color: orange;
    }

#loading-spinner {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

#userPrompt {
    border: 2px solid #94c11a;
    border-radius: 6px;
}

    #userPrompt:focus {
        border-color: #94c11a;
        box-shadow: 0 0 0 0.2rem rgba(148, 193, 26, 0.25); /* optionaler Leuchteffekt */
        outline: none;
    }

#sendBtn:hover {
    background-color: #addd2a !important;
    border-color: #648900;
    color: #404040;
}

@@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* site.css für Persona-History Ansicht */

.chat-entry {
    background-color: #f8f9fa;
    border-left: 4px solid #94c11a;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.4s ease-in;
}

    .chat-entry .question {
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #212529;
    }

    .chat-entry .answer {
        color: #495057;
        padding-left: 0.25rem;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination .page-item.active .page-link {
    color: #505050;
    background-color: #addd2a;
    border-color: #404040;
    pointer-events: none;
    cursor: default;
}

.pagination .page-link {
    color: #ffffff;
    background-color: #94c11a;
    border-color: #bafd05;
}

img.img-fluid {
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 16px;
    color: #606060;
}