# -*- coding: utf-8 -*-
# gui/styles/ticket_cards.py

"""Card-style registry для Ticket kanban-карточек."""

TICKET_CARDS = {
    "TICKET_TASK_CARD_ROOT_TODO": """
        QWidget#ticket_task_card {
            background-color: #FF5938;
            border: 1px solid transparent;
            border-radius: 0px;
        }
        QWidget#ticket_task_card:hover {
            border-color: #FFFFFF;
        }
    """,
    "TICKET_TASK_CARD_ROOT_IN_PROGRESS": """
        QWidget#ticket_task_card {
            background-color: #008BFA;
            border: 1px solid transparent;
            border-radius: 0px;
        }
        QWidget#ticket_task_card:hover {
            border-color: #FFFFFF;
        }
    """,
    "TICKET_TASK_CARD_ROOT_CONFIRMATION": """
        QWidget#ticket_task_card {
            background-color: #FFD27A;
            border: 1px solid transparent;
            border-radius: 0px;
        }
        QWidget#ticket_task_card:hover {
            border-color: #172B4D;
        }
    """,
    "TICKET_TASK_CARD_ROOT_COMPLETED": """
        QWidget#ticket_task_card {
            background-color: #36AC87;
            border: 1px solid transparent;
            border-radius: 0px;
        }
        QWidget#ticket_task_card:hover {
            border-color: #FFFFFF;
        }
    """,
    "TICKET_TASK_CARD_ROOT_REFUSED": """
        QWidget#ticket_task_card {
            background-color: #D1D5DB;
            border: 1px solid transparent;
            border-radius: 0px;
        }
        QWidget#ticket_task_card:hover {
            border-color: #4B5563;
        }
    """,
    "TICKET_TASK_CARD_TITLE_LIGHT": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #FFFFFF;
            font-size: 14px;
            font-weight: 600;
        }
    """,
    "TICKET_TASK_CARD_TITLE_DARK": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #111111;
            font-size: 14px;
            font-weight: 600;
        }
    """,
    "TICKET_TASK_CARD_TEXT_LIGHT": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 500;
        }
    """,
    "TICKET_TASK_CARD_TEXT_DARK": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #111111;
            font-size: 12px;
            font-weight: 500;
        }
    """,
    "TICKET_TASK_CARD_META_LIGHT": """
        QLabel {
            background-color: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.82);
            font-size: 11px;
            font-weight: 500;
        }
    """,
    "TICKET_TASK_CARD_META_DARK": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #111111;
            font-size: 11px;
            font-weight: 500;
        }
    """,
    "TICKET_TASK_CARD_STATUS_LIGHT": """
        QLabel {
            background-color: transparent;
            border: none;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 600;
        }
    """,
    "TICKET_TASK_CARD_STAGE_ACTIVE_LIGHT": """
        QLabel {
            background-color: rgba(255, 255, 255, 0.22);
            border: none;
            border-radius: 10px;
            color: #FFFFFF;
            font-size: 10px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_STAGE_INACTIVE_LIGHT": """
        QLabel {
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.36);
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 10px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_STAGE_ACTIVE_DARK": """
        QLabel {
            background-color: rgba(23, 43, 77, 0.14);
            border: none;
            border-radius: 10px;
            color: #172B4D;
            font-size: 10px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_STAGE_INACTIVE_DARK": """
        QLabel {
            background-color: transparent;
            border: 1px solid rgba(23, 43, 77, 0.24);
            border-radius: 10px;
            color: #4B5563;
            font-size: 10px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_AVATAR_LIGHT": """
        QLabel {
            background-color: rgba(255, 255, 255, 0.14);
            border: 2px solid #FFFFFF;
            border-radius: 22px;
            color: #FFFFFF;
            font-size: 12px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_AVATAR_DARK": """
        QLabel {
            background-color: rgba(255, 255, 255, 0.42);
            border: 2px solid #FFFFFF;
            border-radius: 22px;
            color: #172B4D;
            font-size: 12px;
            font-weight: 700;
        }
    """,
    "TICKET_TASK_CARD_AVATAR_IMAGE": """
        QLabel {
            background-color: transparent;
            border: none;
        }
    """,
}
