/* App page polish ("Deep", matching FrontPagePolish.css / PagePolish.css) for the
   signed-in and invigilator pages. Colour, shadow and edge changes only: no sizes,
   padding or positions change. Loaded last on each page; remove the <link> to revert. */

/* Invigilator-mode pages (Invigilator, Session Review): same deeper blue field as the homepage */
:root {
    --app-bg-blue-color: #a9c7f6;
    --app-bg-blue-image: linear-gradient(180deg, #cfe1fd 0%, #adc9f6 45%, #86ade9 100%);
}

/* No full-width band behind the header; the rounded header card gets the glass edge instead */
.edit-session-header::before {
    background: transparent !important;
    box-shadow: none !important;
}
body:not(.session-review-page) .edit-session-header::after {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Glass edge on card frames: bright rim (inset, so nothing moves) and a deeper blue shadow */
.exam-periods-layer-outer,
.infoFormat,
.session-confirmation-panel,
.calendar-container,
.admin-settings-subjects-folder-body,
.loginContainer,
.front-page-header-layer-outer {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Primary buttons and the mode switch: one deeper brand gradient, light on the top edge.
   Pressed (:active, white) and disabled states are left as they were. */
.button:not(:disabled):not(:active):not(.session-review-paper-cancel),
.exam-periods-new-link:not(:active),
.front-page-role-toggle {
    background: #0a55c4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
.button:not(:disabled):not(:active):not(.session-review-paper-cancel):hover,
.exam-periods-new-link:not(:active):hover {
    background: #0849ab !important;
}

/* Header tagline a touch more legible, same colour as the homepage */
.front-page-header-tagline {
    color: rgba(10, 61, 145, 0.72) !important;
}
