@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&family=Source+Serif+4:wght@600;700&display=swap");

:root
{
    --color-ink: #1b2a34;
    --color-ink-muted: #516272;
    --color-surface: #ffffff;
    --color-surface-muted: #f2f5f7;
    --color-border: #d7dde3;
    --color-accent: #0b6a4f;
    --color-accent-strong: #0f7c5e;
    --color-accent-warm: #b8701b;
    --color-header: #123b5b;
    --color-header-strong: #0f2f47;
    --color-danger: #b84141;
    --radius-1: 6px;
    --radius-2: 10px;
    --shadow-1: 0 10px 24px rgba(16, 24, 40, 0.10);
}

body
{
    font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--color-ink);
    line-height: 1.5;
    background:
        radial-gradient(1200px 420px at 12% -8%, #eaf2f6 0%, rgba(234, 242, 246, 0) 60%),
        radial-gradient(900px 360px at 100% 0%, #f7efe1 0%, rgba(247, 239, 225, 0) 55%),
        #f7f5ef;
    animation: pageFade 240ms ease-out;
}

.site-header
{
    background: linear-gradient(180deg, rgba(18, 59, 91, 0.08) 0%, rgba(11, 106, 79, 0.04) 100%);
    border-bottom: 1px solid var(--color-border);
}

.site-banner
{
    padding: 14px 16px 10px;
    background: linear-gradient(135deg, var(--color-header) 0%, var(--color-accent) 100%);
}

.site-banner img
{
    display: block;
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
}

.site-header-bar
{
    background: var(--color-header-strong);
    color: #f3f6f9;
}

.site-header-bar .container
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 0;
}

.site-title
{
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.site-tagline
{
    font-size: 0.95rem;
    color: #cbd7e1;
}

.site-content
{
    padding: 22px 0 40px;
}

.site-footer
{
    border-top: 1px solid var(--color-border);
}

.my-navbar
{
    background: linear-gradient(90deg, var(--color-header) 0%, var(--color-accent) 100%);
    border-bottom: 1px solid rgba(15, 47, 71, 0.4);
    box-shadow: var(--shadow-1);
}

.my-navbar .navbar-brand,
.my-navbar .nav-link
{
    color: #f3f6fb;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.my-navbar .nav-link
{
    border-radius: var(--radius-1);
    padding: 6px 12px;
}

.my-navbar .nav-link:hover,
.my-navbar .nav-link:focus,
.my-navbar .nav-item.show > .nav-link
{
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
}

.my-navbar .dropdown-menu
{
    background-color: #133d5b;
    border: 1px solid rgba(19, 61, 91, 0.7);
    border-radius: var(--radius-1);
    box-shadow: var(--shadow-1);
}

.my-navbar .dropdown-item
{
    color: #e5edf4;
    font-weight: 600;
}

.my-navbar .dropdown-item:hover,
.my-navbar .dropdown-item:focus
{
    color: #ffffff;
    background-color: var(--color-accent);
}

.my-navbar .dropdown-divider
{
    border-top-color: rgba(255, 255, 255, 0.2);
}

.my-navbar .navbar-toggler
{
    border-color: rgba(255, 255, 255, 0.45);
}

.my-navbar .navbar-toggler:focus
{
    box-shadow: none;
}

.dropdown-submenu
{
    position: relative;
}

.dropdown-submenu .dropdown-menu
{
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.section-header
{
    background: linear-gradient(135deg, #f4f6f8 0%, #e6ebf0 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    box-shadow: 0 8px 16px rgba(16, 24, 40, 0.08);
    padding: 10px 16px;
    text-align: center;
    margin-bottom: 16px;
}

.section-title
{
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-ink);
}

.login-card
{
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    padding: 14px;
}

.login-table
{
    width: 100%;
    border: 0;
}

.login-label
{
    font-size: 0.85rem;
    color: var(--color-ink-muted);
    font-weight: 600;
    text-align: left;
}

.login-info
{
    color: var(--color-ink-muted);
    font-size: 0.95rem;
    text-align: left;
}

.login-info-title
{
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 6px;
}

.login-info p
{
    margin-bottom: 8px;
}

.login-info .card
{
    border-radius: var(--radius-1);
}

.portal-kicker
{
    text-align: center;
    font-weight: 600;
    color: var(--color-ink-muted);
    margin: 12px 0 20px;
}

.portal-card
{
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    padding: 20px 22px;
}

.portal-card + .portal-card
{
    margin-top: 18px;
}

.portal-card-compact
{
    padding: 14px 16px;
}

.portal-card-header
{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 14px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.portal-card-title
{
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-ink);
}

.portal-card-subtitle
{
    font-size: 0.95rem;
    color: var(--color-ink-muted);
}

.portal-card .LabelStyle
{
    text-align: left;
}

.portal-section
{
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--color-border);
}

.portal-section-title
{
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-ink);
    text-align: center;
    margin-bottom: 12px;
}

.portal-note
{
    text-align: center;
    color: var(--color-ink-muted);
    font-size: 0.95rem;
    margin-top: 12px;
}

.portal-choices
{
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.portal-choice
{
    border: 1px solid var(--color-border);
    border-radius: var(--radius-1);
    background: var(--color-surface);
    width: 180px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.portal-choice img
{
    max-height: 44px;
}

.portal-table
{
    margin-bottom: 0;
}

.portal-table td
{
    border-top: none;
    padding: 8px 10px;
}

.portal-table td.LabelStyle,
.portal-table td.LableStyle
{
    color: var(--color-ink-muted);
    font-weight: 600;
    width: 40%;
}

.portal-table td.LabelStyle + td,
.portal-table td.LableStyle + td
{
    color: var(--color-ink);
    font-weight: 600;
}

.portal-table-bordered
{
    border-collapse: collapse;
    border: 1px solid var(--color-border);
}

.portal-table-bordered td
{
    border-bottom: 1px solid var(--color-border);
}

.portal-table-bordered tr:last-child td
{
    border-bottom: none;
}

.portal-radio td
{
    padding-right: 16px;
}

.portal-radio input
{
    margin-right: 6px;
}

a
{
    color: var(--color-accent);
}

a:hover,
a:focus
{
    color: var(--color-accent-strong);
}

@keyframes pageFade
{
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

#pageHeader
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
    /*background-image: url('images/maruti-student-web.png');*/
    /*height: 300px;*/
    background-repeat: no-repeat;
}
#topHeader
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
}
#bar
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
    background-image: url('images/Bottom.gif');
    background-repeat: no-repeat;
}
#colContainer
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
}
#pageFooter
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
    text-decoration: none;
    min-height: 80px;
    padding: 10px 0 0;
    color: var(--color-ink-muted);
    font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: medium;
    background: linear-gradient(180deg, #f0f2f4 0%, #e5eaee 100%);
    vertical-align: middle;
}
#bottomFooter
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: center;
    background-image: url('images/Bottom.gif');
    background-repeat: no-repeat;
}
#pageMenu
{
    float: left;
    width: 175px;
}
#title
{
    color: var(--color-accent);
    font-weight: bold;
    font-size: 15px;
    font-family: "Source Serif 4", Georgia, serif;
    text-align: center;
}
#pageContent
{
    margin-left: auto;
    margin-right: auto;
    /*width: 1024px;*/
    text-align: left;
}
.GridViewStyle
{
    font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 0.9rem;
    table-layout: auto;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2);
    background-color: var(--color-surface);
    box-shadow: var(--shadow-1);
    overflow: hidden;
    margin-right: 0px;
    text-align: left;
}

.GridViewStyle th,
.GridViewStyle td
{
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border);
}

.GridViewStyle tr:last-child td
{
    border-bottom: none;
}

.HeaderStyle
{
    background: linear-gradient(180deg, var(--color-header) 0%, var(--color-header-strong) 100%);
    color: #ffffff;
    text-align: left;
    text-decoration: none;
}

.HeaderStyle th,
.HeaderStyle td
{
    padding: 10px 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.PagerStyle
{
    background: linear-gradient(180deg, #1b4c72 0%, #123b5b 100%);
    color: #ffffff;
    text-align: center;
}
.RowStyle td
{
    background-color: var(--color-surface);
}

.AltRowStyle td,
.AlternateRowStyle td
{
    background-color: var(--color-surface-muted);
}

.SelectedRowStyle td,
.selectedRowStyle td
{
    background-color: #d7e3ee;
}
.StaticMenuStyle
{
    background-color: #eef3f6;
}
.StaticMenuItemStyle
{
    color: black;
    padding: 2px 0px 2px 0px;
    text-align: left;
    width: 10%;
}
.StaticHoverStyle
{
    background-color: #DDE3E6;
    color: black;
}
.DynamicMenuStyle
{
    background-color: #DDE3E6;
}
.DynamicMenuItemStyle
{
    color: black;
    padding: 0px 10px 2px 5px;
    text-align: left;
}
.DynamicHoverStyle
{
    background-color: #eef3f6;
    color: black;
    border: 1px solid #DDE3E6;
    padding: 0px 5px 0px 5px;
}

.ButtonStyle
{
    color: var(--color-ink);
    text-decoration: none;
    background-color: var(--color-surface-muted);
    font-weight: normal;
    font-size: x-small;
}
.ButtonUp
{
    background-position: center;
    color: maroon;
    text-decoration: none;
    background-color: #eef3f6;
    font-weight: normal;
    font-size: x-small;
    background-image: url('images/UpArrowBlue.png');
    background-repeat: no-repeat;
}
.ButtonDown
{
    background-position: center;
    color: maroon;
    text-decoration: none;
    background-color: #eef3f6;
    font-weight: normal;
    font-size: x-small;
    background-image: url('images/DownArrowBlue.png');
    background-repeat: no-repeat;
}
.LabelTitle
{
    color: var(--color-ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1em;
    font-weight: bold;
}
.LabelStyle
{
    text-align: center;
    font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 1.2rem;
    color: var(--color-ink);
    font-weight: 600;
    margin-bottom: 0px;
}
.ErrorLabelStyle
{
    color: var(--color-danger);
    font-weight: 600;
}
.TextboxStyle
{
    text-align: left;
    border-width: 1px;
    border-style: solid;
    border-color: var(--color-border);
    border-radius: var(--radius-1);
    background-color: var(--color-surface);
    width: 175px;
    font-size: 0.85em;
}
.GridTextboxStyle
{
    text-align: left;
    border-style: none;
    width: 175px;
    font-size: 1em;
}

.HideStyle
{
    visibility: hidden;
}
.WaterMark
{
    background-color: Lime;
    color: Navy;
}
#marqueecontainer
{
    position: relative;
    width: 175px;
    height: 200px;
    background-color: white;
    overflow: hidden;
    padding: 0px;
    padding-left: 0px;
}
.LoginStyle
{
    border: 1px solid var(--color-accent);
    background-color: var(--color-surface-muted);
}
.empTextboxstyle
{
    text-align: left;
    border-width: 1px;
    border-style: solid;
    width: 100px;
    font-size: 0.7em;
}
.CenterPosition
{
    display: block;
    border: 2px solid var(--color-accent);
    position: fixed;
    width: 20%;
    background-color: var(--color-surface);
    border-radius: var(--radius-2);
    box-shadow: var(--shadow-1);
    text-align: center;
    top: 50%;
    left: 40%;
  
}

.invisible
{
    position: absolute;
    left: -1000px;
}
.promptclass
{
    color: White;
    font-weight: bold;
    background-color: var(--color-accent);
    text-align: center;
    border: solid 1px var(--color-accent);
}
.borderonly
{
    border: solid 1px var(--color-accent);
}
.modalBackground
{
    background-color: #e7eaed;
    opacity: 0.3;

}
.hiddencol
{
    display: none;
}
.timer
{
    padding: 5px 5px 5px 5px;
}

.form-control,
.form-select
{
    border-radius: var(--radius-1);
    border-color: var(--color-border);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus
{
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.15rem rgba(11, 106, 79, 0.20);
}

input[type="checkbox"],
input[type="radio"]
{
    accent-color: var(--color-accent);
}

.btn
{
    font-weight: 600;
    border-radius: var(--radius-1);
}

.btn-secondary
{
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 6px 12px rgba(16, 24, 40, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus
{
    background-color: var(--color-accent-strong);
    border-color: var(--color-accent-strong);
}

.btn-danger
{
    background-color: var(--color-danger);
    border-color: var(--color-danger);
    box-shadow: 0 6px 12px rgba(16, 24, 40, 0.12);
}

.alert
{
    border-radius: var(--radius-1);
    border: 1px solid var(--color-border);
    box-shadow: 0 6px 12px rgba(16, 24, 40, 0.08);
    font-weight: 600;
}

.alert-danger
{
    background-color: #fbeaea;
    color: var(--color-danger);
    border-color: #f1c7c7;
}

.alert-success
{
    background-color: #e7f4ee;
    color: var(--color-accent);
    border-color: #c7e3d6;
}

.alert-warning
{
    background-color: #fff4e5;
    color: var(--color-accent-warm);
    border-color: #f2d6b3;
}

.form-grid
{
    --bs-gutter-x: 1.35rem;
    --bs-gutter-y: 0.85rem;
}

.form-grid .LabelStyle
{
    color: var(--color-ink-muted);
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: left;
}

.form-grid .form-control,
.form-grid .form-select
{
    min-height: 38px;
}
