/* Frontend Login Styles */

.motivatorenkompass-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.motivatorenkompass-card {
    background: white;
    border-radius: 5%;
    padding: 2rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.motivatorenkompass-input {
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 100%;
}

.motivatorenkompass-input:focus {
    outline: none;
    border-color: #5a8a9a;
}

.motivatorenkompass-input.error {
    border-color: #dc3545;
}

.motivatorenkompass-error-msg {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.motivatorenkompass-btn {
    background: #5a8a9a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 1.1rem;
    width: 100%;
    transition: background 0.3s;
    margin-top: 1rem;
}

.motivatorenkompass-btn:hover {
    background: #4a7a8a;
}

.motivatorenkompass-forgot {
    text-align: center;
    margin-top: 1rem;
}

.motivatorenkompass-forgot a {
    color: #5a8a9a;
    text-decoration: underline;
    font-size: 1rem;
}
.heartbeat-question-number {
    color: #507a88;
    font-weight: 600;
}
/* Heartbeat Fragebogen Design mit Bootstrap */
.heartbeat-container {
    background: #f8f9fa;
    border-radius: 1rem;
}

.heartbeat-header {
    text-align: center;
    margin-bottom: 40px;
}

.heartbeat-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #507a88;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.heartbeat-title {
    font-size: 1.8rem;
    color: #507a88;
    font-weight: 400;
}

/* Bootstrap Progress Customization */
.heartbeat-progress-bar-custom {
    height: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.heartbeat-progress-bar-custom .progress-bar {
    background-color: #5a8a9a;
}

/* 6-Punkte Radio Buttons mit Bootstrap */
.heartbeat-radio-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 30px 0;
}

.heartbeat-radio-option {
    flex: 1;
    text-align: center;
}

.heartbeat-radio-option input[type="radio"] {
    display: none;
}

.heartbeat-radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.heartbeat-radio-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #d0d0d0;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s;
    position: relative;
}

.heartbeat-radio-circle::after {
    content: '';
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #5a8a9a;
    transition: all 0.3s;
}

.heartbeat-radio-option input[type="radio"]:checked + .heartbeat-radio-label .heartbeat-radio-circle {
    border-color: #5a8a9a;
    background: #5a8a9a;
}

.heartbeat-radio-option input[type="radio"]:checked + .heartbeat-radio-label .heartbeat-radio-circle::after {
    width: 20px;
    height: 20px;
    background: white;
}

.heartbeat-radio-text {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.3;
    max-width: 100px;
    word-wrap: break-word;
}

.heartbeat-radio-option input[type="radio"]:checked + .heartbeat-radio-label .heartbeat-radio-text {
    color: #333;
    font-weight: 600;
}

/* Custom Button Colors */
.btn-heartbeat-primary {
    background-color: #5a8a9a;
    border-color: #5a8a9a;
    color: white;
}

.btn-heartbeat-primary:hover {
    background-color: #4a7a8a;
    border-color: #4a7a8a;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .heartbeat-radio-group {
        flex-wrap: wrap;
    }
    
    .heartbeat-radio-option {
        flex: 0 0 calc(33.333% - 10px);
        margin-bottom: 20px;
    }
    
    .heartbeat-radio-circle {
        width: 45px;
        height: 45px;
    }
}

/* Validierungs-Styles */
.question-card-error {
    border: 2px solid #dc3545 !important;
    animation: shake 0.5s;
}

.question-error-message {
    color: #dc3545;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.question-card-error .question-error-message {
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.validation-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.validation-warning.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

/* Evaluation Results - Horizontal Bar Chart Design */
.evaluation-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.evaluation-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.evaluation-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.evaluation-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}

.evaluation-bar-item-wrapper {
    display: flex;
    flex-direction: column;
}

.evaluation-bar-item {
    display: grid;
    grid-template-columns: 250px 1fr 80px;
    align-items: center;
    gap: 20px;
}

.evaluation-label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    text-align: right;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.evaluation-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.evaluation-label-badge.motivator {
    background-color: #4CAF50;
}

.evaluation-label-badge.demotivator {
    background-color: #FF5252;
}

.evaluation-score {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.evaluation-bar-container {
    background: #f5f5f5;
    height: 30px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.evaluation-bar {
    height: 100%;
    transition: width 1s ease-out;
    border-radius: 4px;
}

/* Text-Boxen für Motivatoren/Demotivatoren */
.evaluation-text-box {
    padding: 0;
    border-radius: 8px;
    border-left: 4px solid;
    overflow: hidden;
    transition: all 0.3s ease;
}

.evaluation-text-box.motivator {
    background-color: #E8F5E9;
    border-left-color: #4CAF50;
}

.evaluation-text-box.demotivator {
    background-color: #FFEBEE;
    border-left-color: #FF5252;
}

.evaluation-text-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: #333;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.evaluation-text-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.evaluation-toggle-icon {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.evaluation-text-box.collapsed .evaluation-text-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.evaluation-text-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
}

.evaluation-text-box.motivator .evaluation-text-icon {
    background-color: #4CAF50;
    color: white;
}

.evaluation-text-box.demotivator .evaluation-text-icon {
    background-color: #FF5252;
    color: white;
}

.evaluation-text-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    padding: 1rem 2rem 1rem 2rem;
    max-height: 2000px;
    opacity: 1;
    transition: all 0.3s ease, opacity 0.2s ease;
}

.evaluation-text-content p {
    margin-bottom: 0.8rem;
}

.evaluation-text-content p:last-child {
    margin-bottom: 0;
}

/* Spezielle Klasse für die "Alle Motivatoren" Übersicht mit Scroll */
.evaluation-text-box.scrollable:not(.collapsed) .evaluation-text-content {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Wenn collapsed, dann auf 0 setzen - höhere Spezifität */
.evaluation-text-box.scrollable.collapsed .evaluation-text-content {
    max-height: 0 !important;
    overflow: hidden;
}

/* Scrollbar Styling für besseres Aussehen */
.evaluation-text-box.scrollable .evaluation-text-content::-webkit-scrollbar {
    width: 8px;
}

.evaluation-text-box.scrollable .evaluation-text-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.evaluation-text-box.scrollable .evaluation-text-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.evaluation-text-box.scrollable .evaluation-text-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.evaluation-x-axis {
    display: flex;
    justify-content: space-between;
    margin-left: 270px;
    margin-top: 10px;
    padding: 0 10px;
    color: #666;
    font-size: 0.9rem;
}

.evaluation-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-logout {
    display: inline-block;
    padding: 12px 30px;
    background-color: #5a8a9a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-logout:hover {
    background-color: #4a7a8a;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .evaluation-card {
        padding: 30px 20px;
    }
    
    .evaluation-title {
        font-size: 1.5rem;
    }
    
    .evaluation-bar-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .evaluation-label {
        text-align: left;
        padding-right: 0;
        font-size: 0.9rem;
    }
    
    .evaluation-score {
        text-align: left;
        margin-left: 0;
    }
    
    .evaluation-x-axis {
        margin-left: 0;
        font-size: 0.8rem;
    }
    
    .evaluation-info-title {
        font-size: 1.3rem;
    }
    
    .evaluation-text-box {
        padding: 0;
    }
    
    .evaluation-text-header {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .evaluation-text-content {
        font-size: 0.85rem;
        padding: 0 15px 15px 15px;
    }
}

/* Details Section - Motivatoren & Demotivatoren Details */
.evaluation-details-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.evaluation-details-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.evaluation-details-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Info Section - Was sind Motivatoren? */
.evaluation-info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 2rem;
    margin-top: 50px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.evaluation-info-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #507a88;
    margin-bottom: 25px;
    text-align: center;
}

.evaluation-info-content {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.evaluation-info-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.evaluation-info-content p:last-child {
    margin-bottom: 0;
}

.evaluation-info-content strong {
    color: #507a88;
    font-weight: 600;
}

/* Motivators Overview Section */
.motivators-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.motivator-overview-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.motivator-overview-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.motivator-overview-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5364;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.motivator-overview-title .motivator-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    min-width: 45px;
    text-align: center;
}

.motivator-overview-text {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.motivator-overview-text p {
    margin-bottom: 0.8rem;
}

.motivator-overview-text p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .motivators-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .motivators-overview {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Export Section Styles */
.evaluation-export-section {
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.evaluation-export-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.evaluation-export-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-export {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    border: 2px solid #5a8a9a;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    max-width: 500px;
    width: 100%;
    justify-content: center;
}

.btn-export:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #333;
    background: #f0f7f9;
    border-color: #4a7a8a;
}

.export-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.export-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.export-text strong {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.export-text small {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .btn-export {
        padding: 20px 25px;
        flex-direction: column;
        text-align: center;
    }
    .export-icon {
        font-size: 2.5rem;
    }
    .export-text {
        text-align: center;
    }
    .export-text strong {
        font-size: 1.1rem;
    }
    .export-text small {
        font-size: 0.9rem;
    }
}

.evaluation-export-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.btn-export {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    justify-content: center;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #333;
}

.btn-export-pdf {
    border-color: #5a8a9a;
}

.btn-export-pdf:hover {
    background: #f0f7f9;
    border-color: #4a7a8a;
}



.export-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.export-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.export-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.export-text small {
    font-size: 0.9rem;
    color: #666;
}

/* E-Mail Form Container */

    to {
        opacity: 1;
        transform: translateY(0);
    }
}













/* Alert Styles */





/* Responsive Export Buttons */
@media (max-width: 768px) {
    
    .btn-export {
        padding: 15px 20px;
    }
    
    .export-icon {
        font-size: 2rem;
    }
    
    .export-text strong {
        font-size: 1rem;
    }
    
    .export-text small {
        font-size: 0.85rem;
    }
    
    
}
