.aibs-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #4c3d99 0%, #3d2f7a 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.aibs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.aibs-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #4c3d99;
    flex-shrink: 0;
}

.aibs-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.aibs-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 30px;
}

.aibs-input-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.aibs-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.aibs-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.aibs-textarea::placeholder {
    color: #999;
    opacity: 0.8;
}

.aibs-char-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    margin-bottom: 15px;
}

.aibs-submit-btn {
    background: #ff8c42;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.aibs-submit-btn:hover {
    background: #ff7420;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.aibs-submit-btn:active {
    transform: translateY(0);
}

.aibs-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aibs-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.aibs-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    color: #333;
}

.aibs-results-header h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #4c3d99;
}

.aibs-bias-card {
    background: white;
    border-left: 4px solid #ff8c42;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.aibs-bias-card:last-child {
    margin-bottom: 0;
}

.aibs-bias-name {
    font-size: 20px;
    font-weight: 700;
    color: #4c3d99;
    margin: 0 0 10px 0;
}

.aibs-bias-explanation {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px 0;
}

.aibs-bias-tip {
    background: #f0f7ff;
    border-left: 3px solid #4c9aff;
    padding: 12px 15px;
    border-radius: 5px;
    margin: 0;
}

.aibs-bias-tip strong {
    color: #4c3d99;
    display: block;
    margin-bottom: 5px;
}

.aibs-error {
    background: #ff4444;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .aibs-container {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .aibs-title {
        font-size: 24px;
    }
    
    .aibs-description {
        font-size: 14px;
    }
    
    .aibs-submit-btn {
        width: 100%;
        justify-content: center;
    }
}
