/* Application layout. The legacy theme no longer controls navigation geometry. */
body.ocean-ui {
    --ocean-ink: #263248;
    --ocean-accent: #5264d9;
    --ocean-border: #e5e7ef;
    --ocean-surface: #f0f1f7;
    margin: 0; background: var(--ocean-surface); color: var(--ocean-ink);
    font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}
.ocean-ui *, .ocean-ui *::before, .ocean-ui *::after { box-sizing: border-box; }
.ocean-sidebar {
    position: fixed; inset: 0 auto 0 0; width: 244px; z-index: 50;
    background: #222a42; color: #e8ebf6; padding: 30px 18px;
    display: flex; flex-direction: column; overflow-y: auto;
}
.ocean-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 30px; color: #fff; font-size: 18px; font-weight: 650; letter-spacing: -.5px; text-decoration: none !important; }
.ocean-brand:hover { color: #fff; }
.ocean-brand-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px !important; background: #6878e8; color: #fff; font-size: 19px; }
.ocean-navigation { display: grid; gap: 7px; }
.ocean-navigation .ocean-nav-link, .ocean-nav-group > summary {
    display: flex; align-items: center; gap: 12px; padding: 13px 12px;
    color: #b9c1d9; border-radius: 10px !important; cursor: pointer; font-size: 13px;
    font-weight: 500; text-decoration: none; min-height: 46px; list-style: none;
}
.ocean-nav-group > summary::-webkit-details-marker { display: none; }
.ocean-navigation i { flex: 0 0 19px; font-size: 17px; color: #949fbe; }
.ocean-navigation .ocean-chevron { margin-left: auto; flex-basis: auto; font-size: 13px; }
.ocean-nav-group[open] .ocean-chevron { transform: rotate(180deg); }
.ocean-navigation .ocean-nav-link:hover, .ocean-nav-group > summary:hover { background: #303a56; color: #fff; }
.ocean-navigation .is-active { background: #5264d9; color: #fff; box-shadow: 0 4px 14px #11182d26; }
.ocean-navigation .is-active i { color: #fff; }
.ocean-nav-group[open] > summary { color: #fff; }
.ocean-nav-group > a { display: block; color: #b9c1d9; padding: 10px 12px 10px 43px; margin-top: 4px; border-radius: 9px !important; text-decoration: none; font-size: 12px; }
.ocean-nav-group > a:hover { color: #fff; background: #303a56; }
.ocean-nav-group > a.is-active { color: #fff; background: #3a456b; }
.ocean-workspace { margin-left: 244px; min-width: 0; min-height: 100dvh; display: flex; flex-direction: column; }
.ocean-topbar { min-height: 90px; display: flex; align-items: center; gap: 16px; padding: 20px 36px; background: #ffffffb8; border-bottom: 1px solid #e1e4ee; }
.ocean-heading > span { color: #8b93a6; font-size: 11px; font-weight: 650; letter-spacing: 1.4px; text-transform: uppercase; }
.ocean-heading h1 { font: 650 23px/1.25 "Segoe UI", Arial, sans-serif; letter-spacing: -.7px; margin: 3px 0 0; color: #263248; }
.ocean-icon-button { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px !important; border: 1px solid #e1e4ee; background: #fff; color: #6b7489; font-size: 17px; text-decoration: none !important; }
.ocean-icon-button:hover { background: #eceefd; color: #5264d9; }
.ocean-logout { margin-left: auto; flex-shrink: 0; }
.ocean-menu-button { display: none; }
.ocean-ui .ocean-content.page-content { background: transparent; padding: 30px 36px 40px; min-height: 0; width: 100%; min-width: 0; flex: 1; }
.ocean-ui .ocean-content > .container { width: 100%; max-width: none; padding: 0; }
.ocean-ui .ocean-content .container { max-width: 100%; }
.ocean-ui .ocean-content > .row { margin-left: -10px; margin-right: -10px; }
.ocean-ui .ocean-content > .row > [class*="col-"] { padding-left: 10px; padding-right: 10px; }
.ocean-ui h1 { font-size: 25px; font-weight: 650; letter-spacing: -.6px; }
.ocean-ui h2 { font-size: 22px; font-weight: 600; letter-spacing: -.4px; }
.ocean-ui h3 { font-size: 19px; font-weight: 600; }
.ocean-ui .portlet.light, .ocean-ui .portlet.light.bordered {
    border: 1px solid #e1e4ee !important; border-radius: 15px !important;
    padding: 0; margin-bottom: 22px; background: #fff; box-shadow: 0 4px 18px #26324804;
}
.ocean-ui .portlet.light > .portlet-title { padding: 18px 22px; margin: 0; min-height: 0; background: #fafbff; border-bottom: 1px solid #e9ebf3; border-radius: 15px 15px 0 0; }
.ocean-ui .portlet.light > .portlet-title > .caption { float: none; padding: 0; font-size: 15px; line-height: 22px; display: flex; align-items: center; gap: 8px; }
.ocean-ui .portlet.light > .portlet-title > .caption > i { margin: 0; font-size: 16px; }
.ocean-ui .caption-subject { text-transform: none !important; font-weight: 650 !important; color: #35415c !important; letter-spacing: -.2px; }
.ocean-ui .font-green, .ocean-ui .font-green-sharp { color: #6574db !important; }
.ocean-ui .portlet-body { padding: 18px 22px !important; }
.ocean-ui .portlet-body.form { padding: 0 !important; }
.ocean-ui .portlet-body.form form { padding: 22px; }
.ocean-ui .form-body { padding: 0; }
.ocean-ui .form-group { margin-bottom: 18px; }
.ocean-ui label { font-size: 12px; color: #6f798e; font-weight: 600; margin-bottom: 7px; }
.ocean-ui .form-control, .ocean-ui input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .ocean-ui select, .ocean-ui textarea {
    border: 1px solid #dfe3ee; border-radius: 8px !important; background: #f8f9fc;
    min-height: 40px; padding: 9px 12px; font-family: inherit; font-size: 14px;
    color: #35415c; max-width: 100%; box-shadow: none;
}
.ocean-ui input:focus, .ocean-ui .form-control:focus { background: #fff; border-color: #7d89df; outline: none; box-shadow: 0 0 0 3px #5264d912; }
.ocean-ui .ocean-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.ocean-ui .ocean-field-grid .form-actions { grid-column: 1 / -1; }
.ocean-ui .form-actions { padding: 16px 0 0; background: transparent; border-top: 1px solid #e9ebf3; text-align: right; }
.ocean-ui .btn { min-height: 36px; padding: 8px 14px; border-radius: 8px !important; font-size: 13px; font-weight: 600; }
.ocean-ui .btn.green, .ocean-ui .btn.green-meadow, .ocean-ui .btn.blue, .ocean-ui .btn.bg-green, .ocean-ui .btn.btn-primary, .ocean-ui .btn.grey-cascade { background: #5264d9 !important; border-color: #5264d9 !important; color: #fff !important; }
.ocean-ui .btn.green:hover, .ocean-ui .btn.bg-green:hover, .ocean-ui .btn.grey-cascade:hover { background: #4253c3 !important; }
.ocean-ui .btn.bg-red, .ocean-ui .btn.red { background: #fff0f1 !important; color: #c55468 !important; border: 1px solid #f7dce1 !important; }
.ocean-ui .btn.bg-red i { color: #c55468 !important; }
.ocean-ui .btn.btn-warning { background: #f4ebdc; color: #956d34; border-color: #ecddc7; }
.ocean-ui .table-scrollable { margin: 0 !important; border: 0; border-radius: 0 !important; overflow-x: auto; max-width: 100%; }
.ocean-ui .table { margin: 0; }
.ocean-ui .table > thead > tr > th { background: #fff; padding: 11px 14px; border-bottom: 1px solid #e5e8f2; color: #8992a5; font-size: 11px; font-weight: 650; letter-spacing: .35px; text-transform: uppercase; white-space: nowrap; }
.ocean-ui .table > tbody > tr > td { padding: 12px 14px; border-top: 1px solid #edf0f6; font-size: 13px; color: #4b566d; vertical-align: middle; }
.ocean-ui .table > tbody > tr > td:first-child { color: #263248; font-weight: 600; }
.ocean-ui .table-hover > tbody > tr:hover { background: #f6f7fe; }
.ocean-ui .table .btn { min-width: 33px; min-height: 33px; padding: 6px 9px; }
.ocean-ui .table .form-inline { margin: 0; }
.ocean-ui .table input { width: 100%; min-width: 100px; }
.ocean-ui .table input[type=datetime-local] { min-width: 195px; }
.ocean-ui .alert { border-radius: 10px !important; padding: 12px 18px; }
.ocean-ui .search-date-container-form { flex-wrap: wrap; gap: 8px; }
.ocean-ui .margin-top-40 { margin-top: 22px !important; margin-bottom: 22px; }
.ocean-dashboard { max-width: 860px; margin: 0 auto; }
.ocean-dashboard h2 { margin: 0; }
.ocean-chart { height: min(390px, 50vh); min-height: 250px; position: relative; max-width: 650px; margin: 6px auto; }
.ocean-worker .ocean-topbar { max-width: none; padding-left: max(24px, calc((100% - 1120px) / 2)); padding-right: max(24px, calc((100% - 1120px) / 2)); }
.ocean-worker .ocean-content.page-content { max-width: 1120px; margin: auto; padding: 30px 24px; }
.ocean-worker { min-height: 100dvh; display: flex; flex-direction: column; }
.ocean-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 22px 0; padding: 16px 20px; background: #e7eaf6; border-radius: 12px !important; }
.ocean-filter-bar form { margin: 0; }
.ocean-page-intro { margin-bottom: 22px; text-align: left; }
.ocean-page-intro h1 { margin: 0 0 6px; }
.ocean-date-fields { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 20px; }
.ocean-date-fields input { width: 100%; }
.ocean-date-fields label { display: block; }
.ocean-date-fields .btn { height: 40px; }
.ocean-login .container-login100 { justify-content: flex-end; padding: clamp(24px, 8vw, 120px); }
.ocean-login .container-login100::before { background: linear-gradient(90deg, #222a421a, #222a4266); }
.ocean-login .wrap-login100 { width: 390px; padding: 34px; background: #fffffff2; border-radius: 20px; backdrop-filter: blur(14px); }
.ocean-login .login100-form-title { text-align: left; font-size: 26px; padding-bottom: 26px; color: #263248; }
.ocean-login .input100 { height: 54px; font-size: 15px; }
.ocean-login .wrap-input100 { padding: 0; }
.ocean-login .focus-input100::after { top: 50%; left: 20px; width: auto; transform: translateY(-50%); }
.ocean-auth .navbar { padding: 18px 24px; border-bottom: 1px solid #e1e4ee; box-shadow: none !important; }
.ocean-auth .card { margin-top: 24px; border-radius: 16px !important; border-color: #e1e4ee; overflow: hidden; }
.ocean-auth .card-header { padding: 18px 24px; background: #e7eaf6; border-bottom-color: #e1e4ee; font-weight: 600; }
.ocean-auth .card-body { padding: 24px; }
.ocean-login .login100-form-btn { background: #5264d9; height: 48px; border-radius: 10px; box-shadow: 0 5px 18px #5264d924; }
.ocean-login .login100-form-btn:hover { background: #4253c3; }
.ocean-worker-nav { margin-left: auto; }
.ocean-worker-nav .navbar-nav { float: none; margin: 0; }
.ocean-worker-nav .navbar-nav > li > a { padding: 9px 14px; border-radius: 8px; background: #e7eafb; color: #5264d9; font-size: 12px; font-weight: 600; }
.ocean-worker-nav .arrow { display: none; }
.ocean-worker .ocean-logout { margin-left: 0; }
.ocean-identify { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 340px; max-width: 840px; margin: 36px auto; background: #fff; border: 1px solid #e1e4ee; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 50px #26324809; }
.ocean-clock-panel { height: 100%; display: grid; place-items: center; background: #e8ebfa; padding: 30px; }
.ocean-ui .clock { width: 190px; height: 190px; margin: 0; padding: 12px; background: #5264d9; border: 0; border-radius: 50% !important; box-shadow: 0 12px 28px #5264d924; }
.ocean-ui .outer-clock-face, .ocean-ui .inner-clock-face { border-radius: 50% !important; box-shadow: none; }
.ocean-ui .inner-clock-face::before { border-radius: 50% !important; }
.ocean-worker-nav .navbar-nav > li > a { border-radius: 8px !important; }
.ocean-identify form { padding: 36px; }
.ocean-identify h2 { margin: 0 0 24px; }
.ocean-identify #dni { width: 100%; font-size: 23px; height: 58px; letter-spacing: 2px; padding: 12px 16px; }
.ocean-identify .btn { margin-top: 18px; width: 100%; height: 44px; }
.ocean-attendance { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 24px; }
.ocean-attendance .portlet { margin: 0 !important; min-width: 0; }
.ocean-shift-actions { display: grid; gap: 14px; padding: 14px 0; }
.ocean-shift-actions .btn { width: 100%; min-height: 54px; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 14px 18px; }
.ocean-worker-name { margin: 0; padding: 5px 0; }
.ocean-worker-name b { font-weight: 400; color: #8992a5; }
.ocean-ui .page-footer { background: transparent; }
@media (min-width: 1600px) { .ocean-ui .ocean-content.page-content { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1200px) { .ocean-ui .ocean-field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .ocean-sidebar { width: 220px; padding: 26px 12px; } .ocean-workspace { margin-left: 220px; } .ocean-ui .ocean-content.page-content { padding: 24px; } .ocean-topbar { padding: 20px 24px; } }
@media (max-width: 767px) {
    .ocean-sidebar { transform: translateX(-100%); width: 244px; top: 76px; transition: transform .2s ease; }
    .ocean-menu-open .ocean-sidebar { transform: translateX(0); box-shadow: 20px 0 80px #17203835; }
    .ocean-sidebar .ocean-brand { padding-bottom: 22px; }
    .ocean-workspace { margin: 0; }
    .ocean-topbar { padding: 16px; min-height: 76px; gap: 12px; }
    .ocean-menu-button { display: grid; }
    .ocean-heading h1 { font-size: 18px; }
    .ocean-ui .ocean-content.page-content { padding: 20px 16px; min-height: 0; }
    .ocean-ui .portlet-body { padding: 14px !important; }
    .ocean-ui .portlet.light > .portlet-title { padding: 15px 16px; }
    .ocean-ui .ocean-field-grid { grid-template-columns: 1fr; }
    .ocean-ui .portlet-body.form form { padding: 18px; }
    .ocean-identify { grid-template-columns: 1fr; margin: 8px auto; min-height: 0; }
    .ocean-clock-panel:empty { display: none; }
    .ocean-identify form { padding: 28px 24px; }
    .ocean-attendance { grid-template-columns: 1fr; }
    .ocean-worker .ocean-topbar { padding: 16px; flex-wrap: wrap; }
    .ocean-worker .ocean-heading { flex: 1; }
    .ocean-worker-nav { order: 4; width: 100%; }
    .ocean-worker-nav .navbar-nav > li { float: none; }
    .ocean-worker .ocean-brand-icon { flex-basis: 32px; width: 32px; height: 32px; }
    .ocean-ui .ocean-content .container { width: 100%; padding: 0; }
    .ocean-ui .table > tbody > tr > td { padding: 10px; }
    .ocean-date-fields { grid-template-columns: 1fr; gap: 16px; }
    .ocean-login .container-login100 { justify-content: center; padding: 24px; }
    .ocean-login .wrap-login100 { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { .ocean-sidebar { transition: none; } }
