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

"""Стили dialog-окон документов Ticket."""

TICKET_DOCUMENT_DIALOG = {
    "TICKET_DOCUMENT_TEXTAREA_DARK": """
        QTextEdit {
            background-color: #23272F;
            color: #F5F7FA;
            border: 1px solid #3C4553;
            border-radius: 12px;
            font-size: 16px;
            padding: 12px 14px;
        }
        QTextEdit:focus {
            border: 1px solid #0C66E4;
        }
    """,
    "TICKET_DOCUMENT_TEXTAREA_LIGHT": """
        QTextEdit {
            background-color: #FFFFFF;
            color: #172B4D;
            border: 1px solid #D7DEE8;
            border-radius: 12px;
            font-size: 16px;
            padding: 12px 14px;
        }
        QTextEdit:focus {
            border: 1px solid #0C66E4;
        }
    """,
    "TICKET_DOCUMENT_CANCEL_BUTTON": """
        QPushButton {
            background-color: transparent;
            color: #6B84A5;
            border: 1px solid #D7DEE8;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 500;
            padding: 10px 20px;
        }
        QPushButton:hover {
            background-color: rgba(12, 102, 228, 0.06);
            border-color: #A8B8CF;
        }
        QPushButton:pressed {
            background-color: rgba(12, 102, 228, 0.10);
        }
        QPushButton:disabled {
            color: #A8B8CF;
            border-color: #E1E6ED;
        }
    """,
    "TICKET_DOCUMENT_SUBMIT_BUTTON": """
        QPushButton {
            background-color: #0C66E4;
            color: #FFFFFF;
            border: 1px solid #0C66E4;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 500;
            padding: 10px 20px;
        }
        QPushButton:hover {
            background-color: #0055CC;
            border-color: #0055CC;
        }
        QPushButton:pressed {
            background-color: #09326C;
            border-color: #09326C;
        }
        QPushButton:disabled {
            background-color: #D5D9E2;
            color: #7890AF;
            border-color: #D5D9E2;
        }
    """,
}
