.painting-card {
    background-color: #ffffff;
}

.painting-card .painting-frame {
    position: relative;
    background-color: #ffffff;
    padding: 6px;
    border: 5px solid #232426;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.500);
}

.painting-card .painting-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.250);
}

.painting-deco-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-results {
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-results.active {
    display: block;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.toast-message {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ffffff;
    color: #111111;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1.5px solid #111111;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    font-weight: 500;
    font-family: Vazirmatn, Arial, sans-serif;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    width: calc(100vw - 32px);
    max-width: 420px;
    box-sizing: border-box;
}

.toast-message.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-message.toast-hide {
    opacity: 0;
    transform: translateY(20px);
}

.toast-message .toast-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 1px;
    flex-shrink: 0;
    color: #16a34a;
}

.toast-message.toast-error .toast-icon {
    color: #dc2626;
}

.toast-message.toast-info .toast-icon {
    color: #2563eb;
}

.toast-message span {
    line-height: 1.6;
    word-break: break-word;
}

@media (min-width: 640px) {
    .toast-message {
        width: auto;
        min-width: 280px;
        max-width: 480px;
        padding: 14px 24px;
        font-size: 15px;
    }

    .toast-message .toast-icon {
        width: 24px;
        height: 24px;
    }
}