/**
 * Bewertungskriterien Styles
 * Prefix: aca-bk-
 */

/* =========================================================================
   SHARED (Page + Overlay)
   ========================================================================= */

.aca-bk-liste {
    margin: 20px 0;
}

.aca-bk-item {
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.aca-bk-header {
    padding: 14px 18px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    transition: background 0.2s;
}

.aca-bk-header:hover {
    background: #e9ecef;
}

.aca-bk-nummer {
    font-weight: 600;
    color: #1a243b;
    min-width: 28px;
}

.aca-bk-name {
    font-weight: 600;
    color: #1a243b;
    flex-grow: 1;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.aca-bk-sterne {
    font-size: 15px;
    flex-shrink: 0;
}

.aca-bk-geprueft {
    font-size: 12px;
    color: #666;
    font-style: italic;
    width: 100%;
    margin-top: 2px;
}

.aca-bk-toggle {
    color: #88b441;
    font-size: 11px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.aca-bk-item.aca-bk-open .aca-bk-toggle {
    transform: rotate(180deg);
}

/* Content */
.aca-bk-content {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.aca-bk-section {
    margin-bottom: 20px;
}

.aca-bk-section:last-child {
    margin-bottom: 0;
}

.aca-bk-section h4 {
    color: #1a243b;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aca-bk-section p {
    margin: 0 0 8px;
    line-height: 1.7;
    font-size: 14px;
}

.aca-bk-section p:last-child {
    margin-bottom: 0;
}

/* Positiv Box */
.aca-bk-positiv {
    background: #f0f9f0;
    padding: 15px;
    border-left: 4px solid #28a745;
    border-radius: 4px;
}

/* Negativ Box */
.aca-bk-negativ {
    background: #fff5f5;
    padding: 15px;
    border-left: 4px solid #dc3545;
    border-radius: 4px;
}

/* Tipp Box */
.aca-bk-tipp {
    background: #fff9e6;
    padding: 15px;
    border-left: 4px solid #88b441;
    border-radius: 4px;
}

/* Dialog-Quotes inside examples */
.aca-bk-section blockquote,
.aca-bk-section > p > em {
    background: white;
    border-left: 3px solid #88b441;
    padding: 8px 14px;
    margin: 8px 0;
    font-style: normal;
    display: block;
}

/* Lists */
.aca-bk-section ul {
    list-style: none;
    padding-left: 0;
    margin: 8px 0;
}

.aca-bk-section ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 6px;
    line-height: 1.6;
}

.aca-bk-section ul li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

/* =========================================================================
   PAGE MODE
   ========================================================================= */

.aca-bk-page {
    max-width: 900px;
}

.aca-bk-intro {
    background: #f8f9fa;
    padding: 18px 20px;
    border-left: 4px solid #88b441;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.aca-bk-intro p {
    margin: 0;
}

/* =========================================================================
   OVERLAY MODE
   ========================================================================= */

.aca-bk-overlay-inner {
    padding: 0;
}

.aca-bk-overlay-inner h2 {
    color: #1a243b;
    margin: 0 0 8px;
    font-size: 26px;
}

.aca-bk-overlay-inner h3 {
    color: #88b441;
    margin: 0 0 6px;
    font-size: 24px;
}

.aca-bk-overlay-intro {
    font-size: 14px;
    font-weight: 600;
    color: #1a243b;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Hub button - matches interview-widget button styles */
.aca-bk-hub-btn {
    padding: 14px 28px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    transition: all 0.2s;
}
.aca-bk-hub-btn:hover {
    background: #9a532a !important;
    transform: translateY(-1px);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 768px) {
    .aca-bk-header {
        padding: 12px 14px;
    }
    
    .aca-bk-name {
        font-size: 13px;
    }
    
    .aca-bk-geprueft {
        width: 100%;
        margin-top: 6px;
    }
    
    .aca-bk-content {
        padding: 14px;
    }
    
    .aca-bk-positiv,
    .aca-bk-negativ,
    .aca-bk-tipp {
        padding: 12px;
    }
}
