:root {
    --icesi-blue: #5458f7;
    --icesi-blue-hover: #3f43d9;
    --icesi-blue-soft: #eef0ff;
    --icesi-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #d1d5db;
    --bg-light: #f8fafc;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.left-panel {
    width: 42%;
    background-color: #1e1b4b;
    background-image: url('../images/Background_icesi.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2vh 2.2vw;
    color: #ffffff;
    overflow: hidden;
}

.brand-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2;
    width: 100%;
}
.brand-header img {
    width: clamp(115px, 11vw, 165px);
    height: auto;
    display: block;
    object-fit: contain;
}

.bottom-badges {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}
.badge-llega {
    background-color: var(--icesi-blue);
    color: #ffffff;
    padding: 14px 32px;
    font-size: 30px;
    font-weight: 700;
    width: 55%;
    margin-left: auto;
    text-align: center;
}
.badge-domain {
    background-color: #000000;
    color: #ffffff;
    padding: 14px 26px;
    font-size: 26px;
    font-weight: 500;
    width: 68%;
    margin-left: auto;
}

.right-panel {
    width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 60px;
    background-color: #ffffff;
}
.top-right-header {
    text-align: right;
}
.top-right-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--icesi-dark);
}
.top-right-header span {
    font-size: 13px;
    color: var(--icesi-blue);
    font-weight: 500;
}
.main-content {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

.waf-header-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.notice-icon {
    width: 44px;
    height: 44px;
    background-color: var(--icesi-blue-soft);
    color: var(--icesi-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.waf-title-text span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--icesi-blue);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}
.waf-title-text h2 {
    font-size: 22px;
    color: var(--icesi-dark);
    font-weight: 700;
}

.main-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Caja del Código de bloqueo */
.field-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.trans-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: var(--bg-light);
}
.trans-id {
    flex: 1;
    min-height: 48px;
    padding: 13px 16px;
    font-family: "Courier New", Courier, monospace;
    font-size: 17px;
    font-weight: 700;
    color: var(--icesi-dark);
    user-select: all;
    display: flex;
    align-items: center;
}
.copy-btn {
    background-color: #e2e8f0;
    color: var(--icesi-dark);
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.copy-btn:hover {
    background-color: #cbd5e1;
}

.sgs-btn {
    display: block;
    width: 100%;
    background-color: var(--icesi-blue);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-bottom: 16px;
}
.sgs-btn:hover {
    background-color: var(--icesi-blue-hover);
}
.timestamp-link {
    font-size: 13px;
    color: var(--icesi-blue);
    display: block;
}

/* Pie de página institucional */
.footer {
    text-align: center;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.5;
}
.footer a {
    color: var(--icesi-blue);
    text-decoration: underline;
}

@media (max-width: 860px) {
    body {
        flex-direction: column;
    }
    .left-panel {
        width: 100%;
        min-height: 220px;
        padding: 24px;
    }
    .badge-llega, .badge-domain {
        font-size: 15px;
        padding: 10px 18px;
        width: auto;
    }
    .right-panel {
        width: 100%;
        padding: 30px 24px;
        gap: 36px;
    }
}