/* =========================================================
   JaimeDiaz.TV — Mensajes del sistema DLE
   ========================================================= */

.jdr-system-message {
    width: min(100% - 32px, 1060px);
    min-height: 220px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 20px;

    margin: 42px auto 54px;
    padding: 34px;

    border: 1px solid rgba(23, 35, 60, 0.09);
    border-radius: 22px;

    color: #182238;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 72%,
            rgba(244, 115, 33, 0.055) 100%
        );

    box-shadow:
        0 18px 46px rgba(15, 35, 45, 0.09);
}

.jdr-system-message__icon {
    width: 58px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(244, 115, 33, 0.28);
    border-radius: 16px;

    color: #d76716;
    background: #fff8ed;

    font-size: 1.35rem;
}

.jdr-system-message__body {
    min-width: 0;
    padding-top: 3px;
}

.jdr-system-message__body::before {
    content: "Notificación";

    display: block;

    margin-bottom: 7px;

    color: #c86515;

    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.jdr-system-message__title {
    margin: 0;

    color: #17233c;

    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.jdr-system-message__content {
    margin-top: 14px;

    color: #667085;

    font-size: 1rem;
    line-height: 1.65;
}

.jdr-system-message__content p {
    margin: 0;
}

.jdr-system-message__content p + p {
    margin-top: 10px;
}

.jdr-system-message__content a {
    color: #233a61;

    font-weight: 750;
    text-decoration-color: rgba(35, 58, 97, 0.3);
    text-underline-offset: 3px;

    transition:
        color 160ms ease,
        text-decoration-color 160ms ease;
}

.jdr-system-message__content a:hover {
    color: #e85d0f;
    text-decoration-color: currentColor;
}

@media (max-width: 620px) {

    .jdr-system-message {
        width: min(100% - 20px, 760px);
        min-height: 0;

        grid-template-columns: 1fr;
        gap: 16px;

        margin: 24px auto 36px;
        padding: 24px 20px;

        border-radius: 18px;
    }

    .jdr-system-message__icon {
        width: 50px;
        height: 50px;

        border-radius: 14px;

        font-size: 1.15rem;
    }

    .jdr-system-message__title {
        font-size: 1.55rem;
    }

    .jdr-system-message__content {
        margin-top: 11px;

        font-size: 0.94rem;
        line-height: 1.55;
    }

}
