/* ==================================================================
   ForgotPasswordLanding.css
   Visual refresh for ACADEMIC/Forgot_Password.aspx only - linked ONLY
   from that page. Same visual language as default.aspx/DefaultLanding.css
   and OtpLoginLanding.css (campus photo backdrop, frosted header, white
   card) for a consistent look across the public login flow. No control
   IDs, postback wiring or validation were touched - CSS + wrapper
   markup only.
   ================================================================== */

html {
    min-height: 100%;
}

body {
    background-image: linear-gradient(180deg, rgba(8, 20, 38, 0.45) 0%, rgba(8, 20, 38, 0.65) 100%), url('../IMAGES/Parentloginbackground.png') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    color: #33383d;
}

.lnmiit-header-row {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    border-bottom: 4px solid #c0392b;
}

.lnmiit-content-row > td {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* ---------- Forgot Password card ---------- */
table.fp_bg {
    width: 560px;
    max-width: 94vw;
    margin: 0 auto !important;
    background: #ffffff;
    border-radius: 14px;
    /* No overflow:hidden here on purpose: the AjaxControlToolkit calendar
       popup for txtDoB renders as an absolutely-positioned child nested
       inside this table, and overflow:hidden would clip it. Corners are
       rounded explicitly on the first/last row instead (below). */
    border-collapse: collapse;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
}

/* NOTE: these three rules use ">"-scoped child combinators (not plain
   descendant selectors) on purpose. The DOB field's AjaxControlToolkit
   calendar popup is a nested <table> living inside one of this table's
   own <td> cells; a plain "table.fp_bg td" selector would also match
   *its* internal <td> cells (padding, radius) and, since that popup's
   day-grid panel is a fixed 170px box in the toolkit's own CSS, even a
   few extra pixels of padding per cell is enough to push most of the
   day columns outside that box and get clipped by the toolkit's own
   internal overflow:hidden. Restricting to direct children keeps these
   rules from ever reaching into that nested table. */
table.fp_bg > tbody > tr > td {
    padding: 10px 20px;
    font-size: 10.5pt;
}

table.fp_bg > tbody > tr:first-child > td {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

table.fp_bg > tbody > tr:last-child > td {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.lnmiit-panel-header {
    background: linear-gradient(135deg, #2c5aa0, #1e4176) !important;
    color: #ffffff !important;
    font-size: 13.5pt !important;
    font-weight: 600 !important;
    letter-spacing: .3px;
    padding: 15px 20px !important;
    text-align: left !important;
}

.lnmiit-panel-header i {
    margin-right: 8px;
}

.fp-note {
    background: #fff8e1 !important;
    border-left: 4px solid #f0ad4e;
    color: #7a5b00 !important;
    padding: 11px 18px !important;
    font-size: 10pt;
    text-align: left !important;
}

.fp-note b {
    color: #c0392b;
}

.fp-label {
    text-align: left;
    white-space: nowrap;
    font-weight: 600;
    padding-right: 8px !important;
}

.fp-input {
    width: 100%;
    max-width: 250px;
    height: 35px;
    border-radius: 6px;
    border: 1px solid #cdd7e3;
    padding: 6px 12px;
    box-sizing: border-box;
    font-size: 10.5pt;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.fp-input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
}

#btnSendLink,
#btnCancel {
    border-radius: 6px;
    border: 1px solid transparent;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 11pt;
    cursor: pointer;
}

/* The searchable-select widget (see JAVASCRIPTS/searchable-select.js,
   shared site-wide) defaults to a compact size everywhere else - scale
   it up on this page only, scoped under the Forgot Password card. */
.fp_bg .ss-display {
    height: 35px;
    min-width: 165px;
    padding: 5px 10px;
    font-size: 10.5pt;
    border-radius: 6px;
}

.fp_bg .ss-caret {
    font-size: 12px;
}

/* "Send Link" button: outline style (border + text only) using the
   site's own blue instead of the old solid red/orange gradient. */
#btnSendLink {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
    box-sizing: border-box;
    box-shadow: none;
    margin-right: 8px;
}

#btnSendLink:hover {
    background: #2c5aa0;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(44, 90, 160, 0.3);
}

#btnCancel {
    background: #eef2f7;
    color: #33383d;
    border-color: #cdd7e3;
}

#btnCancel:hover {
    opacity: .92;
}

.lnmiit-msg-row td {
    text-align: center;
    font-weight: 600;
    padding-top: 6px;
}
