﻿html
{
    min-height: 100%;
}
html, body
{
    font: 14px 'Segoe UI','Helvetica Neue','Droid Sans',Arial,Tahoma,Geneva,Sans-serif;
    margin: 0;
    padding: 0;
}
/* Full-screen gradient backdrop for the whole site; fixed so it stays put while scrolling. */
body
{
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 35%, #c026d3 70%, #f43f5e 100%) fixed;
    min-height: 100vh;
}
h1, h2, h3
{
  font-weight: normal;
}
h1
{
  font-size: 34px;
}
h2
{
  font-size: 28px;
}
h3
{
  font-size: 22px;
}
/* Section headings sit directly on the gradient. */
.content h2
{
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(30, 10, 60, 0.4);
}
.content-wrapper
{
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 12px;
    width: 100%;
    max-width: 1024px;
}
.headerPane.expanded .content-wrapper
{
    padding: 0;
    max-width: initial;
}
.footer
{
    padding: 18px 0 26px;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    text-shadow: 0 1px 4px rgba(30, 10, 60, 0.35);
}
.footer p
{
    margin: 0;
}
/* Glassy white header bar floating over the gradient. */
.headerPane
{
    padding: 0!important;
    min-width: 490px;
    background: rgba(255, 255, 255, 0.95)!important;
    border: none!important;
    box-shadow: 0 2px 20px rgba(30, 10, 60, 0.3)!important;
}
.headerPane.bar
{
    padding: 0 12px!important;
}
.headerPane.expanded
{
    padding: 2px!important;
}
.headerTitle
{
    display: block;
    float: left;
    margin: 16px 0;
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(90deg, #4f46e5, #c026d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #5b21b6; /* fallback */
}
.headerPane.expanded .headerTitle
{
    display: none;
}
.headerMenu
{
    float: right!important;
    margin: 28px 0 15px;
    background: transparent!important;
}
.headerMenu .dxm-item
{
    background: transparent!important;
    border: none!important;
}
.headerMenu .dxm-item a.dxm-content,
.headerMenu .dxm-item .dxm-content,
.headerMenu .dxm-item .dx-vam
{
    color: #5b21b6!important;
    font-weight: 600;
    font-size: 15px;
}
.headerMenu .dxm-item.dxm-hovered,
.headerMenu .dxm-item.dxm-selected
{
    background: transparent!important;
}
.headerMenu .dxm-item.dxm-hovered a.dxm-content,
.headerMenu .dxm-item.dxm-hovered .dxm-content,
.headerMenu .dxm-item.dxm-hovered .dx-vam
{
    color: #c026d3!important;
}
.headerPane.expanded .headerMenu
{
    float: none!important;
    margin: 0;
    width: 100%;
}

/* ---- Default.aspx portal tiles: modern gradient cards over the sonhlab theme ---- */
.tile-bt-2
{
    border-radius: 16px!important;
    border: none!important;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(30, 10, 60, 0.35)!important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile-bt-2:hover
{
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(30, 10, 60, 0.5)!important;
}
.tile-bt-2.solid-red-2
{
    background: linear-gradient(135deg, #f43f5e, #f97316)!important;
}
.tile-bt-2.solid-blue
{
    background: linear-gradient(135deg, #0ea5e9, #6366f1)!important;
}
.tile-bt-2.solid-green
{
    background: linear-gradient(135deg, #10b981, #84cc16)!important;
}
.tile-bt-2 a.gradient
{
    background: none!important;
}
.tile-bt-2 .light-text
{
    color: #ffffff!important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---- DownloadLogin.aspx credential gate ----
   The gradient now lives on the body, so this wrapper just centers the card and fills
   the viewport height between the fixed header and the footer. */
.download-login-wrap
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 16px 48px;
    min-height: calc(100vh - 230px);
}
.download-card
{
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(30, 10, 60, 0.35);
    max-width: 430px;
    width: 100%;
    padding: 34px 38px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.download-card-icon
{
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7 55%, #ec4899);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-card-icon svg
{
    width: 30px;
    height: 30px;
    fill: #ffffff;
}
.download-card h2
{
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 8px;
    background: linear-gradient(90deg, #4f46e5, #c026d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #5b21b6; /* fallback for browsers without background-clip:text */
}
.download-app
{
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #27224d;
}
.download-version
{
    font-size: 13px;
    margin: 0 0 20px;
    color: #7a7694;
}
.channel-badge
{
    display: inline-block;
    margin-left: 8px;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    vertical-align: middle;
    box-shadow: 0 3px 8px rgba(30, 10, 60, 0.25);
}
.channel-production { background: linear-gradient(135deg, #f43f5e, #f97316); }
.channel-test { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.channel-noautoupdate { background: linear-gradient(135deg, #64748b, #334155); }
.download-field
{
    text-align: left;
    margin-bottom: 16px;
}
.download-field .dxeBase_Moderno
{
    margin-bottom: 5px;
}
.download-field label,
.download-field .dxeLabel_Moderno,
.download-field .dxeLabel_Moderno span
{
    color: #4c4677 !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
}
/* DevExpress text boxes: rounded, violet focus ring */
.download-field .dxeTextBox_Moderno
{
    border: 1px solid #d9d6ef !important;
    border-radius: 9px !important;
    background: #fbfaff !important;
}
.download-field .dxeTextBox_Moderno.dxeFocused_Moderno
{
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
    background: #ffffff !important;
}
.download-field .dxeTextBox_Moderno input.dxeEditArea_Moderno
{
    padding: 9px 10px !important;
    color: #2b2650;
}
.download-field .dxeErrorCell_Moderno
{
    color: #e11d48 !important;
    font-size: 12px;
}
.download-submit
{
    margin-top: 10px;
}
div.download-submit
{
    background: linear-gradient(135deg, #6366f1, #a855f7 55%, #ec4899) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 4px 0 !important;
    box-shadow: 0 10px 22px rgba(168, 85, 247, 0.45) !important;
}
div.download-submit.dxbButtonHover_Moderno
{
    background: linear-gradient(135deg, #4f46e5, #9333ea 55%, #db2777) !important;
    box-shadow: 0 12px 26px rgba(147, 51, 234, 0.55) !important;
}
div.download-submit.dxbButtonPressed_Moderno
{
    background: linear-gradient(135deg, #4338ca, #7e22ce 55%, #be185d) !important;
    box-shadow: 0 6px 14px rgba(147, 51, 234, 0.45) !important;
}
div.download-submit .dx-vam,
div.download-submit input
{
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.4px;
}
.download-hint
{
    font-size: 12px;
    margin: 16px 0 0;
    color: #8d88a6;
}
.download-alert
{
    text-align: left;
    font-size: 13px;
    margin-bottom: 16px;
    border-radius: 10px;
}
.download-back
{
    margin-top: 20px;
    font-size: 13px;
}
.download-back a
{
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}
.download-back a:hover
{
    color: #c026d3;
    text-decoration: underline;
}

/* ---- DownloadLogin.aspx post-sign-in success view ---- */
.download-success-icon
{
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #22c55e 60%, #84cc16);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-success-icon svg
{
    width: 32px;
    height: 32px;
    fill: #ffffff;
}
.download-success-lead
{
    font-size: 16px;
    font-weight: 600;
    color: #166534;
    margin: 0 0 6px;
}
.download-success-file
{
    font-size: 13px;
    color: #7a7694;
    margin: 0 0 18px;
}
.download-steps
{
    text-align: left;
    background: linear-gradient(135deg, #f5f3ff, #fdf4ff);
    border: 1px solid #e9e4fb;
    border-radius: 12px;
    padding: 16px 18px 14px;
    margin-bottom: 16px;
}
.download-steps h3
{
    font-size: 14px;
    font-weight: 700;
    color: #5b21b6;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.download-steps ol
{
    margin: 0;
    padding-left: 18px;
    counter-reset: step;
}
.download-steps li
{
    font-size: 13px;
    color: #3f3a63;
    line-height: 1.55;
    margin-bottom: 8px;
}
.download-steps li:last-child
{
    margin-bottom: 0;
}
.download-again
{
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    border: 1px solid #d9d6ef;
    border-radius: 8px;
    padding: 8px 16px;
}
.download-again:hover
{
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
    text-decoration: none;
}
iframe.download-trigger
{
    display: none;
    width: 0;
    height: 0;
    border: 0;
}


