:root {
    --bg: #eef2f8;
    --panel: #ffffff;
    --ink: #17212d;
    --muted: #5b6673;
    --line: #d4dce7;
    --brand: #0f4c81;
    --ok: #0b7a69;
    --bad: #952c49;
    --shadow-soft: 0 12px 34px rgba(20, 44, 69, 0.1);
    --shadow-hard: 0 24px 52px rgba(12, 28, 46, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'IBM Plex Sans', sans-serif;
    background:
        radial-gradient(circle at 5% -10%, #d4e1ef 0, rgba(212, 225, 239, 0) 42%),
        radial-gradient(circle at 100% 10%, #dbe9db 0, rgba(219, 233, 219, 0) 36%),
        linear-gradient(180deg, #f8fafd 0, #ecf1f8 100%);
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: 72px 1fr;
}

.topbar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: #f7fbff;
    background: linear-gradient(95deg, #0f263a, #173e5a 52%, #1e5d5a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand strong {
    display: block;
    font-size: 1.03rem;
}

.brand small {
    color: #b6c8da;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fd4fa2, #bd1f69);
    position: relative;
}

.brand-mark::before,
.brand-mark::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #95a8b9;
    transform-origin: bottom;
}

.brand-mark::before {
    height: 33px;
    left: -10px;
    top: -27px;
    transform: rotate(-39deg);
}

.brand-mark::after {
    height: 27px;
    left: 7px;
    top: -21px;
    transform: rotate(-26deg);
}

.status-pill {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #486178;
    color: #dde9f7;
    font-size: 0.88rem;
}

.status-pill.ok {
    border-color: #2ec59f;
    color: #bcffe9;
}

.status-pill.bad {
    border-color: #de708f;
    color: #ffdbe5;
}

.sidebar {
    background: linear-gradient(180deg, #f8faff 0, #f3f7fc 100%);
    border-right: 1px solid var(--line);
    padding: 18px;
    overflow: auto;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: #203347;
    padding: 11px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    font-weight: 600;
    transition: 150ms ease;
}

.nav-link.active,
.nav-link:hover {
    background: linear-gradient(90deg, #d8e6f6, #e6edf8);
    transform: translateX(2px);
}

.settings-card {
    margin-top: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
}

.settings-card h3 {
    margin: 4px 0 10px;
    font-size: 1rem;
}

label {
    display: block;
    font-size: 0.86rem;
    color: #5a6674;
    margin-bottom: 10px;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 4px;
    font: inherit;
    color: #1c2b3b;
    border: 1px solid #c3cfde;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4885c6;
    box-shadow: 0 0 0 3px rgba(72, 133, 198, 0.15);
}

.content {
    padding: 22px;
    overflow: auto;
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1f5f95;
    margin: 0 0 8px;
}

.card,
.hero-note {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    animation: rise 220ms ease-out;
}

.grid.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.btn {
    border: 1px solid #b7c8dc;
    border-radius: 10px;
    background: linear-gradient(180deg, #fdfefe, #edf3fa);
    color: #1d2f42;
    font: inherit;
    font-weight: 600;
    padding: 9px 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(19, 45, 71, 0.12);
}

.btn-primary {
    border-color: #0a4f86;
    background: linear-gradient(180deg, #136aad, #0f4c81);
    color: #f3f8fe;
}

.hint {
    font-size: 0.85rem;
    color: var(--muted);
}

code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85em;
    background: #f1f5fb;
    border: 1px solid #dbe5f2;
    border-radius: 6px;
    padding: 1px 4px;
}

.row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.4fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e4ebf4;
}

.attrs-box {
    border: 1px dashed #9ab0c8;
    border-radius: 10px;
    min-height: 170px;
    padding: 10px;
    background: #f8fbff;
}

/* Windows 11 FileShare */
.w11-shell {
    font-family: 'Segoe UI Variable Display', 'Segoe UI', sans-serif;
    background: #f3f3f3;
    border: 1px solid #7a7a7a;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.w11-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0;
    background: #e3e3e3;
    /* Mica fallback */
    border-bottom: 1px solid #d2d2d2;
}

.w11-tabs {
    display: flex;
    align-items: flex-end;
    padding-left: 8px;
    gap: 4px;
    margin-bottom: -1px;
}

.w11-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fafafa;
    border: 1px solid #d2d2d2;
    border-bottom: 1px solid #fafafa;
    border-radius: 8px 8px 0 0;
    font-size: 0.85rem;
    color: #1a1a1a;
    min-width: 140px;
    position: relative;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.02);
}

.w11-tab-icon {
    width: 16px;
    height: 16px;
}

.w11-tab-icon.home-icon {
    content: "🏠";
    font-size: 14px;
    line-height: 16px;
}

.w11-tab-close {
    margin-left: auto;
    font-size: 1.1rem;
    color: #7a7a7a;
    cursor: pointer;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w11-tab-close:hover {
    background: #e8e8e8;
}

.w11-tab-add {
    width: 32px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4a4a4a;
    border-radius: 4px;
    margin-bottom: 2px;
    cursor: pointer;
}

.w11-tab-add:hover {
    background: #d8d8d8;
}

.w11-window-controls {
    display: flex;
    align-self: flex-start;
}

.w11-window-controls span {
    width: 46px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #1a1a1a;
    cursor: pointer;
}

.w11-window-controls span:hover {
    background: #d4d4d4;
}

.w11-window-controls span:last-child:hover {
    background: #e81123;
    color: white;
}

.w11-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f3f3f3;
    border-bottom: 1px solid #e1e1e1;
}

.w11-navbtns {
    display: flex;
    gap: 4px;
}

.w11-btn {
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    transition: background 0.1s ease;
}

.w11-btn:hover:not(.disabled) {
    background: #e5e5e5;
}

.w11-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
}

.w11-nav-btn.disabled {
    color: #9f9f9f;
    cursor: default;
}

.w11-address-bar {
    flex: 1;
    background: #ffffff;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #1a1a1a;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.w11-search-bar {
    width: 220px;
}

.w11-search-bar input {
    width: 100%;
    margin: 0;
    background: #ffffff;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #1a1a1a;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.w11-commandbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f3f3f3;
    border-bottom: 1px solid #e1e1e1;
}

.w11-cmd-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.1s ease;
}

.w11-cmd-btn:hover {
    background: #e5e5e5;
}

.w11-cmd-btn.primary {
    color: #0067c0;
    font-weight: 600;
}

.w11-cmd-btn.primary .cmd-icon {
    color: #0067c0;
}

.w11-cmd-btn.ghost {
    padding: 6px 8px;
    font-size: 1rem;
}

.w11-sep {
    width: 1px;
    height: 20px;
    background: #c8c8c8;
    margin: 0 4px;
}

.w11-layout {
    display: flex;
    flex-direction: row;
    min-height: 480px;
    background: #ffffff;
}

.w11-sidebar {
    width: 220px;
    border-right: 1px solid #e1e1e1;
    background: #fdfdfd;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.w11-side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.88rem;
    color: #2b2b2b;
    cursor: pointer;
    transition: background 0.1s;
}

.w11-side-item.indent {
    padding-left: 32px;
}

.w11-side-item:hover {
    background: #f0f0f0;
}

.w11-side-item.active {
    background: #e8f0fe;
    color: #005fb8;
    position: relative;
}

.w11-side-item.active::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #005fb8;
    border-radius: 2px;
}

.w11-side-icon {
    font-size: 1rem;
}

.w11-side-group {
    margin: 6px 0;
}

.w11-main {
    flex: 1;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.w11-section-title {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 16px;
}

.w11-file-list {
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

.file-row {
    display: grid;
    grid-template-columns: 32px 1fr 80px;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.88rem;
    color: #2b2b2b;
    user-select: none;
}

.file-row:hover {
    background: #f0f4f8;
}

.file-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%230078d4"><path d="M14.5 4h-4L9 2H1.5A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 14.5 4zm.5 8.5a.5.5 0 0 1-.5.5H1.5a.5.5 0 0 1-.5-.5v-8A.5.5 0 0 1 1.5 4h7.293l1 1.5H14.5a.5.5 0 0 1 .5.5v7z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
}

.w11-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #7a7a7a;
    font-size: 0.9rem;
    text-align: center;
    padding: 40px;
}

.w11-details-pane {
    width: 320px;
    background: #fafafa;
    border-left: 1px solid #e1e1e1;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.w11-details-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.w11-details-sub {
    font-size: 0.85rem;
    color: #7a7a7a;
    margin-bottom: 24px;
}

.w11-attrs-content {
    flex: 1;
    background: #ffffff;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    padding: 12px;
    font-size: 0.85rem;
}

.w11-empty-details {
    color: #7a7a7a;
    text-align: center;
    margin-top: 40px;
}

.w11-details-footer {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #9f9f9f;
}

.w11-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 4px 12px;
    background: #f3f3f3;
    border-top: 1px solid #e1e1e1;
    font-size: 0.75rem;
    color: #4a4a4a;
}

.w11-status-right {
    display: flex;
    gap: 12px;
}

/* SAP */
.sap-gui {
    border: 1px solid #8d9bab;
    border-radius: 4px;
    overflow: hidden;
    background: #eceff2;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(20, 32, 48, 0.16);
}

.sap-shellbar {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: #d2dce7;
    background: #2e455c;
}

.sap-shell-right {
    margin-left: auto;
}

.sap-titlebar {
    display: grid;
    grid-template-columns: 28px 48px 1fr;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #334f69;
    color: #eaf2fa;
}

.sap-titlebar h2 {
    margin: 0;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 500;
}

.sap-back {
    font-size: 1rem;
}

.sap-logo-mini {
    font-weight: 700;
    background: linear-gradient(135deg, #00a0db, #035b84);
    color: #fff;
    font-size: 0.78rem;
    border-radius: 2px;
    padding: 2px 6px;
    text-align: center;
}

.sap-actionline {
    display: grid;
    grid-template-columns: 24px 140px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f5f7f9;
    border-bottom: 1px solid #d5dbe3;
    color: #3f5266;
    font-size: 0.86rem;
}

.sap-actionline .ok {
    color: #2a9b58;
    font-size: 1.1rem;
}

.sap-cmd {
    height: 24px;
    border: 1px solid #c8d0da;
    border-radius: 2px;
    background: #fff;
}

.sap-cancel {
    color: #2f6ca3;
    font-weight: 600;
}

.sap-actions-right {
    color: #2f6ca3;
}

.sap-content-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 540px;
}

.sap-nav {
    border-right: 1px solid #d5dbe3;
    background: #f1f3f5;
}

.sap-nav-icons {
    padding: 8px 10px;
    font-size: 1rem;
    color: #67849c;
    border-bottom: 1px solid #dce2e8;
}

.sap-findby {
    padding: 8px 10px 4px;
    color: #6a737d;
    font-size: 0.86rem;
}

.sap-nav ul {
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
}

.sap-nav li {
    padding: 6px 10px 6px 18px;
    color: #48505a;
    font-size: 0.9rem;
    border-bottom: 1px solid #eceff3;
}

.sap-main {
    padding: 8px;
    background: #f4f6f8;
}

.sap-mini-toolbar {
    color: #5c7289;
    padding: 2px 0 8px;
    font-size: 0.95rem;
}

.sap-group {
    border: 1px solid #d7dce3;
    background: #f8fafb;
    margin-bottom: 8px;
}

.sap-group h3 {
    margin: 0;
    padding: 8px 10px 4px;
    font-size: 1rem;
    color: #3d4955;
    font-weight: 600;
}

.sap-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    padding: 6px 10px 10px;
}

.sap-statusbar {
    padding: 7px 12px;
    border-top: 1px solid #c7d0da;
    background: #eef2f6;
    color: #4a5563;
    font-size: 0.82rem;
}

.sap-gui input,
.sap-gui select {
    border-radius: 1px;
    border-color: #c4ccd6;
    background: #ffffff;
    font-family: 'IBM Plex Sans', sans-serif;
    height: 27px;
    padding: 4px 7px;
}

.sap-gui label {
    color: #69727c;
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.sap-actions {
    display: flex;
    gap: 8px;
    padding: 2px 10px 10px;
}

/* SharePoint Modern Fluent UI */
.sp-modern {
    font-family: 'Segoe UI', 'Segoe UI Web (West European)', sans-serif;
    border: 1px solid #edebe9;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
    display: flex;
    flex-direction: column;
}

.sp-suitebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    background: #036cba;
    color: #ffffff;
    padding: 0 20px 0 16px;
}

.sp-suite-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sp-waffle {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    gap: 2px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.sp-waffle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sp-waffle span {
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 1px;
}

.sp-brand {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.sp-suite-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sp-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    padding: 0 12px;
    width: 400px;
    height: 32px;
}

.sp-search-box:focus-within {
    background: #ffffff;
}

.sp-search-icon {
    color: #0078d4;
    font-size: 16px;
    margin-right: 8px;
    font-weight: bold;
}

.sp-search-box input {
    border: none;
    background: transparent;
    width: 100%;
    color: #323130;
    font-size: 14px;
    outline: none;
    padding: 0;
}

.sp-suite-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sp-suite-icon {
    font-size: 18px;
    cursor: pointer;
}

.sp-avatar-wrap {
    cursor: pointer;
}

.sp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #498205;
    /* random theme color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.sp-avatar.s {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.sp-header {
    padding: 16px 24px 0;
    background: #ffffff;
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #edebe9;
}

.sp-site-logo {
    width: 64px;
    height: 64px;
    background: #0078d4;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.sp-site-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sp-site-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sp-site-name-row h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #323130;
}

.sp-site-actions {
    display: flex;
    gap: 8px;
}

.sp-btn-outline {
    background: transparent;
    border: 1px solid #8a8886;
    border-radius: 2px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #323130;
    cursor: pointer;
}

.sp-btn-outline:hover {
    background: #f3f2f1;
}

.sp-site-nav {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.sp-site-nav a {
    text-decoration: none;
    color: #323130;
    font-size: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
}

.sp-site-nav a:hover {
    color: #0078d4;
}

.sp-site-nav a.active {
    font-weight: 600;
    border-bottom-color: #0078d4;
}

.sp-commandbar {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    background: #ffffff;
    border-bottom: 1px solid #edebe9;
}

.sp-cmd-left,
.sp-cmd-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-btn-primary,
.sp-btn-action,
.sp-btn-default {
    border: none;
    border-radius: 2px;
    padding: 0 12px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    color: #323130;
}

.sp-btn-action:hover,
.sp-btn-default:hover {
    background: #f3f2f1;
}

.sp-btn-primary {
    background: #0078d4;
    color: #ffffff;
}

.sp-btn-primary:hover {
    background: #106ebe;
}

.sp-btn-primary .sp-icon {
    color: #ffffff;
}

.sp-btn-action .sp-icon {
    color: #0078d4;
    font-size: 16px;
}

.sp-btn-default {
    border: 1px solid #8a8886;
    font-weight: 600;
}

.sp-sep {
    width: 1px;
    height: 20px;
    background: #c8c6c4;
    margin: 0 8px;
}

.sp-info-toggle {
    width: 32px;
    padding: 0;
    justify-content: center;
}

.sp-info-toggle.active {
    background: #edebe9;
}

.sp-layout {
    display: flex;
    min-height: 500px;
    background: #ffffff;
}

.sp-leftnav {
    width: 200px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-leftnav a {
    text-decoration: none;
    color: #323130;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 2px;
}

.sp-leftnav a:hover {
    background: #f3f2f1;
}

.sp-leftnav a.sp-nav-edit {
    margin-top: 16px;
    color: #0078d4;
}

.sp-main {
    flex: 1;
    border-left: 1px solid #edebe9;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.sp-table-wrap {
    flex: 1;
    position: relative;
}

.sp-table {
    width: 100%;
    border-collapse: collapse;
}

.sp-table th {
    text-align: left;
    font-weight: 400;
    font-size: 14px;
    color: #605e5c;
    padding: 10px 12px;
    border-bottom: 1px solid #edebe9;
}

.sp-table td {
    padding: 10px 12px;
    font-size: 14px;
    color: #323130;
    border-bottom: 1px solid #edebe9;
}

.sp-table td a {
    color: #323130;
    text-decoration: none;
}

.sp-table td a:hover {
    color: #0078d4;
    text-decoration: underline;
}

.sp-table tr:hover td {
    background: #f3f2f1;
}

.sp-table tr.selected td {
    background: #f3f2f1;
}

.sp-table tr.selected td:first-child {
    box-shadow: inset 3px 0 0 0 #0078d4;
}

.td-icon {
    width: 32px;
    padding-right: 0 !important;
    text-align: center;
}

.td-actions {
    width: 40px;
    color: #a19f9d;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

.sp-table tr:hover .td-actions {
    color: #323130;
}

.sp-upload-zone {
    padding: 40px;
    text-align: center;
    border: 2px dashed transparent;
    color: #605e5c;
    font-size: 14px;
}

.sp-upload-zone.dragover {
    border-color: #0078d4;
    background: rgba(0, 120, 212, 0.05);
}

.sp-details-pane {
    width: 320px;
    border-left: 1px solid #edebe9;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.sp-dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #edebe9;
}

.sp-dp-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #323130;
}

.sp-dp-close {
    cursor: pointer;
    font-size: 20px;
    color: #605e5c;
}

.sp-dp-close:hover {
    color: #323130;
}

.sp-dp-scrollable {
    flex: 1;
    overflow-y: auto;
}

.sp-dp-preview {
    padding: 16px;
    background: #faf9f8;
}

.sp-preview-box {
    background: #ffffff;
    border: 1px solid #edebe9;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #605e5c;
    font-size: 12px;
}

.sp-dp-section {
    padding: 16px;
    border-bottom: 1px solid #edebe9;
}

.sp-dp-section h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #323130;
}

.sp-access-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-link {
    color: #0078d4;
    text-decoration: none;
    font-size: 14px;
    margin-left: 8px;
}

.sp-link:hover {
    text-decoration: underline;
}

.sp-prop-field {
    margin-bottom: 16px;
}

.sp-prop-field label {
    display: block;
    font-size: 14px;
    color: #605e5c;
    margin-bottom: 4px;
    font-weight: 500;
}

.sp-prop-field .req {
    color: #a4262c;
}

.sp-prop-field input,
.sp-prop-field select {
    width: 100%;
    border: 1px solid #8a8886;
    border-radius: 2px;
    padding: 6px 8px;
    font-size: 14px;
    color: #323130;
    background: #ffffff;
}

.sp-prop-field input:focus,
.sp-prop-field select:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: inset 0 0 0 1px #0078d4;
}

.sp-prop-field input[readonly] {
    background: #f3f2f1;
    border-color: #edebe9;
    color: #a19f9d;
}

.sp-dp-actions {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.sp-dp-actions .sp-btn-primary,
.sp-dp-actions .sp-btn-default {
    height: 32px;
    padding: 0 16px;
    font-weight: 600;
}

.sp-activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sp-activity-text {
    font-size: 14px;
    color: #323130;
}

.sp-time-ago {
    font-size: 12px;
    color: #605e5c;
}

/* Outlook */
.mail-win {
    border: 1px solid #bfc8d3;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f3f3;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.mail-win-title {
    background: #0078d4;
    color: #fff;
    font-size: 1.02rem;
    padding: 10px 14px;
    font-weight: 500;
}

.mail-win-tabs {
    background: #f4f4f4;
    border-bottom: 1px solid #d9dde2;
    padding: 8px 12px 6px;
    color: #29313a;
    font-size: 0.96rem;
}

.mail-win-tabs .active {
    font-weight: 600;
    border-bottom: 2px solid #2b6cb0;
    padding-bottom: 3px;
}

.mail-ribbon {
    display: flex;
    gap: 8px;
    align-items: stretch;
    padding: 8px 10px;
    background: #efefef;
    border-bottom: 1px solid #d3d8df;
}

.mail-rib-group {
    min-width: 72px;
    border-right: 1px solid #d5dbe2;
    padding: 4px 10px;
    text-align: center;
}

.mail-rib-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto 6px;
    border: 1px solid #c6ced8;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}

.mail-rib-group small {
    color: #3b4551;
    font-size: 0.78rem;
}

.mail-compose-pane {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 8px;
    background: #efefef;
}

.mail-send-col {
    padding-top: 12px;
}

.mail-send-btn {
    width: 72px;
    min-height: 90px;
    border: 1px solid #aeb6c1;
    border-radius: 6px;
    background: #f7f7f7;
    color: #1f2b37;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    cursor: pointer;
}

.mail-send-btn span {
    font-size: 1rem;
}

.mail-fields-col {
    border: 1px solid #c5ccd6;
    background: #fff;
}

.mail-line {
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
    border-bottom: 1px solid #dde2e9;
    min-height: 40px;
}

.mail-line label {
    margin: 0;
    text-align: center;
    color: #4a545f;
    font-size: 0.95rem;
}

.mail-line input {
    border: 0;
    border-left: 1px solid #dde2e9;
    border-radius: 0;
    margin: 0;
    height: 38px;
}

.mail-tech-row {
    border-bottom: 1px solid #dde2e9;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: #fafbfc;
}

.mail-tech-row label {
    font-size: 0.8rem;
    color: #586472;
    margin: 0;
}

.mail-editor {
    min-height: 210px;
    padding: 14px;
    font-size: 1.02rem;
    line-height: 1.6;
    background: #fff;
}

.mail-editor p {
    margin: 0 0 14px;
}

/* Salesforce */
.sf-shell {
    border: 1px solid #d8dee8;
    border-radius: 14px;
    overflow: hidden;
    background: #f9fbfd;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.sf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #dce5f0;
    background: linear-gradient(90deg, #ecf4ff, #f8fbff);
}

.sf-tabs {
    display: flex;
    gap: 8px;
}

.sf-tabs span {
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8eef7;
    color: #3c5067;
}

.sf-tabs span.active {
    background: #0b7bd9;
    color: #fff;
}

.sf-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 14px 0;
}

.sf-metric {
    background: linear-gradient(180deg, #ffffff, #f4f8fd);
    border: 1px solid #d8e4f2;
    border-radius: 10px;
    padding: 10px;
}

.sf-metric small {
    display: block;
    color: #67809b;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.sf-metric strong {
    font-size: 1.05rem;
    color: #173a59;
}

.sf-record-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 14px;
    padding: 14px;
}

.sf-main-panel,
.sf-side-panel {
    background: #fff;
    border: 1px solid #dde6f1;
    border-radius: 10px;
    padding: 12px;
}

.sf-main-panel h3,
.sf-side-panel h3 {
    margin-top: 0;
}

.sf-kv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

.sf-side-panel .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Kundenportal */
.kp-shell {
    border: 1px solid #d7dfeb;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fbff;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
}

.kp-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 18px;
    background: linear-gradient(100deg, #0f4f7f, #0f6f6d 70%, #4a7a3f);
    color: #f4fbff;
}

.kp-hero h2 {
    margin: 0 0 4px;
}

.kp-hero p {
    margin: 0;
    color: #d4e8f6;
}

.kp-eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #b9d9ef;
}

.kp-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kp-badges span {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 251, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
}

.kp-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 12px;
    padding: 12px;
}

.kp-card {
    background: #fff;
    border: 1px solid #d8e3ef;
    border-radius: 12px;
    padding: 12px;
}

.kp-card h3 {
    margin-top: 0;
}

.kp-kv {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #edf2f8;
}

.kp-kv span {
    color: #65788f;
}

.kp-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.kp-card-head small {
    color: #6c7f95;
}

.kp-request .full {
    grid-column: 1 / -1;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   Outlook Demo (New Outlook for Windows / OWA Compose View)
   ========================================================================= */
.nw-compose-window {
    display: flex;
    flex-direction: column;
    height: 650px;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', "Segoe UI Web", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    color: #242424;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 1. Header & Simplified Ribbon */
.nw-comp-header {
    background: #ffffff;
    border-bottom: 1px solid #e1dfdd;
}

.nw-comp-title {
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #605e5c;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f2f1;
}

.nw-comp-ribbon {
    display: flex;
    flex-direction: column;
}

.nw-ribbon-tabs {
    display: flex;
    padding: 0 8px;
    border-bottom: 1px solid #edebe9;
}

.nw-ribbon-tabs span {
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #323130;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.nw-ribbon-tabs span:hover {
    background: #f3f2f1;
}

.nw-ribbon-tabs span:first-child {
    border-bottom-color: #0078d4;
    font-weight: 600;
    color: #0078d4;
}

.nw-ribbon-actions {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 4px;
}

.nw-ribbon-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nw-ribbon-sep {
    width: 1px;
    height: 24px;
    background: #e1dfdd;
    margin: 0 4px;
}

.nw-rib-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #323130;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.1s;
}

.nw-rib-btn:hover {
    background: #f3f2f1;
}

.nw-primary-btn {
    background: #0078d4;
    color: #ffffff;
    border-color: #0078d4;
}

.nw-primary-btn:hover {
    background: #106ebe;
    color: #ffffff;
}

.nw-icon {
    font-size: 1rem;
    color: #605e5c;
}

.nw-icon-send {
    font-size: 1rem;
}

/* 2. Main Body Area */
.nw-comp-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.nw-comp-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 400px;
    background: #ffffff;
}

/* 3. Compose Fields */
.nw-comp-fields {
    padding: 16px 32px 0 32px;
    display: flex;
    flex-direction: column;
}

.nw-field-row {
    display: flex;
    align-items: center;
    min-height: 40px;
    border-bottom: 1px solid #edebe9;
}

.nw-subject-row {
    border-bottom: 2px solid #e1dfdd;
    margin-top: 8px;
}

.nw-field-btn {
    width: 60px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.85rem;
    color: #605e5c;
    cursor: pointer;
    padding: 0;
}

.nw-field-btn:hover {
    color: #0078d4;
}

.nw-field-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    color: #242424;
    padding: 8px 0;
    background: transparent;
}

.nw-subject-input {
    font-size: 1.1rem;
    font-weight: 600;
}

.nw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 0;
}

.nw-chip {
    background: #eff6fc;
    color: #0078d4;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.nw-chip-close {
    cursor: pointer;
    font-weight: bold;
}

.nw-chip-close:hover {
    color: #005a9e;
}

/* 4. Formatting Bar & Editor */
.nw-format-bar {
    display: flex;
    align-items: center;
    padding: 8px 32px;
    gap: 4px;
    border-bottom: 1px solid #edebe9;
    background: #ffffff;
}

.nw-fmt-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #323130;
}

.nw-fmt-btn:hover {
    background: #f3f2f1;
}

.nw-fmt-sep {
    width: 1px;
    height: 16px;
    background: #e1dfdd;
    margin: 0 4px;
}

.nw-comp-editor {
    flex: 1;
    padding: 24px 32px;
    outline: none;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-y: auto;
}

.nw-comp-editor p {
    margin: 0 0 12px 0;
}

/* 5. ImageMaster Add-in Pane */
.nw-addon-pane {
    width: 320px;
    background: #fdfdfd;
    border-left: 1px solid #e1dfdd;
    display: flex;
    flex-direction: column;
}

.nw-addon-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1dfdd;
    background: #ffffff;
}

.nw-addon-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nw-addon-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #605e5c;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nw-addon-close:hover {
    background: #f3f2f1;
}

.nw-addon-scroll {
    flex: 1;
    overflow-y: auto;
}

.nw-addon-body {
    padding: 16px;
}

.nw-info-box {
    background: #eff6fc;
    border: 1px solid #c7e0f4;
    border-radius: 4px;
    padding: 12px;
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.nw-info-icon {
    font-size: 1.1rem;
    margin-top: -2px;
}

.nw-info-box p {
    margin: 0;
    font-size: 0.8rem;
    color: #005a9e;
    line-height: 1.4;
}

.nw-form-group {
    margin-bottom: 16px;
}

.nw-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #323130;
    margin-bottom: 6px;
}

.nw-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #8a8886;
    border-radius: 4px;
    font-size: 0.85rem;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #ffffff;
}

.nw-input:focus {
    border-color: #0078d4;
    outline: none;
    box-shadow: 0 0 0 1px #0078d4;
}

/* File Upload styling for Add-in */
.nw-file-upload-box {
    position: relative;
    width: 100%;
    height: 38px;
}

.nw-file-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.nw-file-dummy {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed #8a8886;
    border-radius: 4px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #605e5c;
    z-index: 1;
    pointer-events: none;
}

.nw-file-dummy .nw-icon {
    margin-right: 8px;
}

.nw-meta-summary {
    font-size: 0.8rem;
    color: #605e5c;
    background: #f3f2f1;
    padding: 12px;
    border-radius: 4px;
    margin-top: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.nw-meta-summary strong {
    color: #323130;
}

.nw-btn-primary {
    width: 100%;
    background: #0078d4;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.nw-btn-primary:hover {
    background: #106ebe;
}

/* =========================================================================
   SwissCard Portal (Premium Dashboard UI)
   ========================================================================= */
.sc-portal-root {
    display: flex;
    height: 800px;
    background-color: #f7f9fc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1f36;
    overflow: hidden;
}

/* Sidebar */
.sc-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e9f2;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sc-brand {
    padding: 32px 24px 40px 24px;
}

.sc-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1f36;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.sc-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
}

.sc-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sc-nav-item:hover {
    background: #f0f3f8;
    color: #1a1f36;
}

.sc-nav-item.active {
    background: #e6faf9;
    color: #00aeb3;
    font-weight: 600;
}

.sc-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.sc-logout {
    padding: 24px 16px;
    border-top: 1px solid #e5e9f2;
}

/* Main Area */
.sc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sc-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
}

.sc-topbar h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.sc-user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sc-bell {
    font-size: 1.4rem;
    position: relative;
    cursor: pointer;
}

.sc-badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #e53e3e;
    border-radius: 50%;
    border: 2px solid #f7f9fc;
}

.sc-avatar {
    width: 44px;
    height: 44px;
    background: #00aeb3;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 174, 179, 0.3);
}

/* Dashboard Content */
.sc-dashboard-content {
    padding: 0 48px 48px 48px;
    max-width: 1200px;
}

.sc-top-row {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

/* Realistic Credit Card CSS */
.sc-credit-card-wrapper {
    perspective: 1000px;
}

.sc-credit-card {
    width: 340px;
    height: 215px;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1a1f36 0%, #0d1222 100%);
    position: relative;
    overflow: hidden;
}

.sc-credit-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
}

.sc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.sc-chip {
    width: 44px;
    height: 32px;
    background: linear-gradient(135deg, #e2c073 0%, #b88d3d 100%);
    border-radius: 6px;
    position: relative;
}

.sc-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.sc-contactless {
    font-size: 1.4rem;
    transform: rotate(90deg);
    opacity: 0.8;
}

.sc-card-number {
    font-size: 1.6rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    z-index: 2;
    margin-top: 16px;
}

.sc-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.sc-card-holder {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.sc-card-logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    opacity: 0.9;
}

/* Account Summary Card */
.sc-account-summary {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(26, 31, 54, 0.04);
}

.sc-account-summary h3 {
    margin: 0 0 16px 0;
    font-size: 1rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.sc-balance {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
}

.sc-currency {
    font-size: 1.4rem;
    color: #4a5568;
    font-weight: 600;
}

.sc-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1f36;
    letter-spacing: -1px;
}

.sc-limit-bar-wrapper {
    margin-bottom: 32px;
}

.sc-limit-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.sc-limit-bar {
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    overflow: hidden;
}

.sc-limit-fill {
    height: 100%;
    background: #00aeb3;
    border-radius: 4px;
}

.sc-payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 12px;
}

.sc-pay-col small {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.sc-pay-col strong {
    font-size: 1.1rem;
    color: #1a1f36;
}

.sc-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.sc-btn-primary {
    background: #00aeb3;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 174, 179, 0.2);
}

.sc-btn-primary:hover {
    background: #00989c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 174, 179, 0.3);
}

.sc-btn-outline {
    background: transparent;
    border: 1px solid #00aeb3;
    color: #00aeb3;
}

.sc-btn-outline:hover {
    background: #f0fbfa;
}

/* Documents Section */
.sc-documents-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(26, 31, 54, 0.04);
}

.sc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sc-section-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1f36;
}

/* Upload Panel */
.sc-upload-panel {
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.sc-upload-panel h4 {
    margin: 0 0 8px 0;
    color: #1a1f36;
    font-size: 1.1rem;
}

.sc-upload-panel p {
    margin: 0 0 20px 0;
    color: #718096;
    font-size: 0.9rem;
}

.sc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 200px;
    gap: 16px;
}

.sc-form-group label {
    display: block;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 6px;
    font-weight: 500;
}

.sc-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1a1f36;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s;
}

.sc-input:focus {
    border-color: #00aeb3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 179, 0.1);
}

.sc-input-file {
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.sc-align-bottom {
    display: flex;
    align-items: flex-end;
}

/* Modern Table */
.sc-modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sc-modern-table th {
    text-align: left;
    padding: 16px 20px;
    color: #718096;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}

.sc-modern-table td {
    padding: 20px;
    color: #4a5568;
    font-size: 0.95rem;
    border-bottom: 1px solid #f2f4f8;
    vertical-align: middle;
}

.sc-modern-table tr:hover td {
    background: #f8fafc;
}

.sc-modern-table td strong {
    color: #1a1f36;
    font-weight: 600;
}

.sc-status-pill {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sc-status-pill.success {
    background: #e6fffa;
    color: #047481;
}

.sc-icon-btn {
    background: #f0f3f8;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #4a5568;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-icon-btn:hover {
    background: #00aeb3;
    color: #ffffff;
}

@media (max-width: 1140px) {
    .app-shell {
        grid-template-columns: 1fr;
        grid-template-rows: 72px auto 1fr;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .hero,
    .grid.two,
    .explorer-layout,
    .sap-content-grid,
    .sp-layout,
    .mail-compose-pane,
    .sf-record-layout,
    .mail-tech-row,
    .sf-metrics,
    .sap-fields,
    .kp-grid {
        grid-template-columns: 1fr;
    }

    .row {
        grid-template-columns: 1fr;
    }
}