.emoji-card {
    background: radial-gradient(circle at top, rgba(239, 246, 255, 0.9), rgba(239, 246, 255, 0))
        , linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(226, 232, 240, 0.9));
    border-radius: 26px;
}

[data-bs-theme="dark"] .emoji-card {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.18), rgba(15, 23, 42, 0))
        , linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92));
}

.emoji-output {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 6vw, 28px);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

[data-bs-theme="dark"] .emoji-output {
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.emoji-message {
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.emoji-actions .btn {
    min-width: 180px;
}

.emoji-options {
    border-top: 1px dashed rgba(148, 163, 184, 0.3);
    padding-top: 24px;
}

.emoji-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emoji-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.emoji-check .form-check-input {
    margin-top: 0;
    transform: scale(1.2);
}

[data-bs-theme="dark"] .emoji-check {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.4);
}

.emoji-history-table td {
    vertical-align: middle;
}

.emoji-history-table td:first-child {
    white-space: nowrap;
    color: rgba(100, 116, 139, 0.95);
}

[data-bs-theme="dark"] .emoji-history-table td:first-child {
    color: rgba(203, 213, 225, 0.8);
}

@media (max-width: 768px) {
    .emoji-actions .btn {
        min-width: 140px;
    }

    .emoji-check {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .emoji-output {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }

    .emoji-actions {
        flex-direction: column;
    }

    .emoji-actions .btn {
        width: 100%;
    }
}
