/* ===================================
   ATTENTION BLOCKS (8 types)
   Dark theme adaptation
   ================================== */

/* Base attention block styles */
blockquote.warning,
blockquote.question,
blockquote.danger,
blockquote.check,
blockquote.info,
blockquote.thumbs-up,
blockquote.thumbs-down,
blockquote.quote {
    position: relative;
    margin: 2em 0;
    padding: 20px 20px 20px 65px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Icon positioning */
blockquote.warning:before,
blockquote.question:before,
blockquote.danger:before,
blockquote.check:before,
blockquote.info:before,
blockquote.thumbs-up:before,
blockquote.thumbs-down:before,
blockquote.quote:before {
    font-size: 28px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    line-height: 1;
}

/* Warning - Orange/Yellow */
blockquote.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.1) 100%);
    border-left: 3px solid #f59e0b;
    color: #fcd34d;
}
blockquote.warning:before {
    content: "!";
    color: #f59e0b;
    font-weight: bold;
    font-size: 24px;
    width: 28px;
    height: 28px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Question - Blue */
blockquote.question {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-left: 3px solid #3b82f6;
    color: #93c5fd;
}
blockquote.question:before {
    content: "?";
    color: #3b82f6;
    font-weight: bold;
    font-size: 24px;
    width: 28px;
    height: 28px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Danger - Red */
blockquote.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}
blockquote.danger:before {
    content: "\00D7";
    color: #ef4444;
    font-weight: bold;
    font-size: 24px;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Check - Green */
blockquote.check {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    border-left: 3px solid #22c55e;
    color: #86efac;
}
blockquote.check:before {
    content: "\2713";
    color: #22c55e;
    font-weight: bold;
    font-size: 20px;
    width: 28px;
    height: 28px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info - Cyan */
blockquote.info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-left: 3px solid #06b6d4;
    color: #67e8f9;
}
blockquote.info:before {
    content: "i";
    color: #06b6d4;
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
    width: 28px;
    height: 28px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Thumbs Up - Green */
blockquote.thumbs-up {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(132, 204, 22, 0.1) 100%);
    border-left: 3px solid #22c55e;
    color: #86efac;
}
blockquote.thumbs-up:before {
    content: "\1F44D";
    font-size: 24px;
}

/* Thumbs Down - Red */
blockquote.thumbs-down {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(244, 63, 94, 0.1) 100%);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}
blockquote.thumbs-down:before {
    content: "\1F44E";
    font-size: 24px;
}

/* Quote - Gray/Purple */
blockquote.quote {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-left: 3px solid #8b5cf6;
    color: #c4b5fd;
}
blockquote.quote:before {
    content: "\201C";
    color: #8b5cf6;
    font-size: 40px;
    font-family: Georgia, serif;
    line-height: 0.8;
}

/* Paragraph styles inside blocks */
blockquote.warning p,
blockquote.question p,
blockquote.danger p,
blockquote.check p,
blockquote.info p,
blockquote.thumbs-up p,
blockquote.thumbs-down p,
blockquote.quote p {
    margin: 0;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    blockquote.warning,
    blockquote.question,
    blockquote.danger,
    blockquote.check,
    blockquote.info,
    blockquote.thumbs-up,
    blockquote.thumbs-down,
    blockquote.quote {
        padding: 16px 16px 16px 55px;
        margin: 1.5em 0;
    }

    blockquote.warning:before,
    blockquote.question:before,
    blockquote.danger:before,
    blockquote.check:before,
    blockquote.info:before,
    blockquote.thumbs-up:before,
    blockquote.thumbs-down:before,
    blockquote.quote:before {
        left: 14px;
        font-size: 22px;
    }
}
