/* CENTRAL STYLESHEET - 360 HOUSING LTD */

:root {
    --primary: #1e3a8a; /* Deep Navy Blue */
    --primary-hover: #172554;
    --primary-light: #eff6ff;
    --secondary: #d97706; /* Royal Gold replaces teal */
    --secondary-hover: #b45309;
    --secondary-light: #fef3c7;
    --accent: #b45309; /* Warm Gold/Amber */
    --accent-light: #fef3c7;
    --neutral-dark: #0f172a; /* Slate 900 */
    --neutral-light: #f8fafc; /* Slate 50 */
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --border: #e2e8f0; /* Slate 200 */
    --success: #d97706; /* Royal Gold replaces Green Success */
    --success-light: #fef3c7;
    --warning: #f59e0b; /* Amber */
    --warning-light: #fffbeb;
    --danger: #ef4444; /* Red */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--neutral-light);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}

/* Page Layout Wrappers */
main {
    flex-grow: 1;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* ROYAL SPARKLY GOLD BUTTON */
.btn-secondary {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp');
    background-size: cover;
    background-position: center;
    color: #451a03 !important; /* Dark high contrast text */
    border: 1px solid #d97706;
    font-weight: 700;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-main);
}

.btn-ghost:hover {
    background-color: var(--border);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    opacity: 0.9;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    gap: 4px;
}

/* ROYAL SPARKLY GOLD BADGE */
.badge-success {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp') !important;
    background-size: cover;
    background-position: center;
    color: #451a03 !important;
    border: 1px solid #d97706;
    font-weight: 700 !important;
    box-shadow: var(--shadow-sm);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning);
    border: 1px solid #fde68a;
}

.badge-danger {
    background-color: #fee2e2;
    color: var(--danger);
    border: 1px solid #fca5a5;
}

.badge-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Layout & Navigation Header */
header {
    background-color: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

.nav-links a.active {
    font-weight: 700;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 4px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #2b2b2b 0%, #4a4a4a 38%, #a9843f 72%, #d4af37 100%);
    color: white;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 20px 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* SPARKLY ROYAL TEXT IN HERO */
.hero-title span {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #f5efe0;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic svg {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.3));
}

/* Hero brand logo (replaces old house SVG placeholder) */
.hero-logo-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-card img {
    width: 100%;
    height: auto;
    max-width: 340px;
    object-fit: contain;
}

/* Section Common Titles */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px auto;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--neutral-dark);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Page Styles */
.services-section {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--neutral-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
    background-color: white;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--neutral-dark);
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Informational Content Grid */
.info-block {
    padding: 80px 0;
}

.info-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-block-grid.reverse {
    direction: rtl;
}

.info-block-grid.reverse > div {
    direction: ltr; /* Reset text direction */
}

/* Interior Living Spaces Showcase */
.interior-gallery-section {
    padding: 80px 0;
    background-color: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.interior-card {
    background-color: var(--neutral-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.interior-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.interior-img-wrapper {
    width: 100%;
    height: 220px;
    background-color: #cbd5e1;
    overflow: hidden;
    position: relative;
}

.interior-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.interior-card:hover .interior-img {
    transform: scale(1.05);
}

.interior-body {
    padding: 20px;
}

.interior-title {
    font-weight: 700;
    color: var(--neutral-dark);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.interior-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* E-Sign Marketing Section */
.esign-promo {
    padding: 80px 0;
    background-color: var(--neutral-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.esign-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.esign-benefit-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.esign-benefit-item {
    display: flex;
    gap: 12px;
}

.esign-benefit-item svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.esign-benefit-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--neutral-dark);
    margin-bottom: 4px;
}

.esign-benefit-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Steps System */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    background-color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
    opacity: 0.5;
}

.step-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neutral-dark);
    font-size: 1.1rem;
    padding-right: 30px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Us Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-label {
    font-weight: 700;
    color: var(--neutral-dark);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item-value {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Form Styles */
.card-form {
    background-color: var(--neutral-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--neutral-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: white;
    color: var(--neutral-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Shared Footer styling */
footer {
    background-color: var(--neutral-dark);
    color: #94a3b8;
    padding: 60px 0 30px 0;
    border-top: 1px solid #1e293b;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: white;
    margin-bottom: 16px;
}

.footer-heading {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* PORTAL SYSTEM LAYOUT */
.portal-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.portal-sidebar {
    background-color: var(--neutral-dark);
    color: #94a3b8;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #1e293b;
    height: 100vh;
    position: sticky;
    top: 0;
}

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.portal-nav-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.portal-nav-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* ROYAL SPARKLY ACTIVE SIDEBAR BUTTONS */
.portal-nav-btn.active {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp') !important;
    background-size: cover;
    background-position: center;
    color: #451a03 !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-md);
    border: 1px solid #d97706;
}

.portal-sidebar-footer {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-user-chip {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ROYAL SPARKLY USER AVATAR */
.portal-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp');
    background-size: cover;
    background-position: center;
    color: #451a03;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.portal-user-info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-user-name {
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
}

.portal-user-role {
    font-size: 0.75rem;
    color: #64748b;
}

.portal-content {
    padding: 40px;
    overflow-y: auto;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.portal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neutral-dark);
}

.portal-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Dashboard Metric Rows */
.portal-grid-dash {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.dash-metric-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.dash-metric-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-metric-icon.blue {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* GOLD SPARKLY INDICATORS replaces Green indicators */
.dash-metric-icon.teal {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp');
    background-size: cover;
    color: #451a03;
    border: 1px solid #d97706;
}

.dash-metric-icon.amber {
    background-color: var(--accent-light);
    color: var(--accent);
}

.dash-metric-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--neutral-dark);
    line-height: 1.1;
}

.dash-metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.dash-two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.dash-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.dash-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Documents E-Sign */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background-color: var(--neutral-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.doc-item:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.doc-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--neutral-dark);
}

.doc-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Signer Workspace */
.esign-workspace {
    display: none;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.esign-workspace-header {
    background-color: var(--neutral-light);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.esign-document-container {
    padding: 40px;
    max-height: 400px;
    overflow-y: auto;
    border-bottom: 1px solid var(--border);
    background-color: #f1f5f9;
}

.esign-document-paper {
    background-color: white;
    padding: 40px 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #cbd5e1;
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1e293b;
}

.esign-document-paper h1 {
    font-family: inherit;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--neutral-dark);
}

.esign-document-paper h2 {
    font-family: inherit;
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
    color: var(--neutral-dark);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 4px;
}

.esign-document-paper p {
    margin-bottom: 14px;
}

.esign-signature-box {
    padding: 32px;
    background-color: var(--neutral-light);
}

.signature-controls {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.canvas-container {
    background-color: white;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    position: relative;
    touch-action: none;
}

canvas {
    width: 100%;
    height: 160px;
    display: block;
    cursor: crosshair;
}

.canvas-actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

/* Maintenance Tickets */
.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    background-color: white;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ticket-title {
    font-weight: 700;
    color: var(--neutral-dark);
    font-size: 1.05rem;
}

.ticket-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}

/* Rent Balance Block - GOLD SPARKLY HERO BAR */
.rent-balance-hero {
    background-image: url('uploads/shiny-golden-background-260nw-312102809.webp');
    background-size: cover;
    background-position: center;
    color: #451a03;
    padding: 32px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d97706;
    box-shadow: var(--shadow-md);
}

.rent-balance-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* Demo Badges */
.demo-badge-helper {
    background-color: var(--accent-light);
    border: 1px solid #fde68a;
    color: var(--accent);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--neutral-dark);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.login-view-wrapper {
    max-width: 440px;
    margin: 60px auto;
}

/* PRINT MEDIA OVERRIDES - Beautiful, formatted multipage PDF printing */
@media print {
    body * {
        visibility: hidden;
        background: transparent !important;
        box-shadow: none !important;
    }

    #active-esign-document-text, 
    #active-esign-document-text * {
        visibility: visible;
    }

    #active-esign-document-text {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: white !important;
        font-family: Georgia, serif !important;
        color: black !important;
    }

    h1, h2 {
        page-break-after: avoid;
    }
    p {
        orphans: 3;
        widows: 3;
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid, .info-block-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-graphic {
        order: -1;
    }
    .info-block-grid.reverse {
        direction: ltr;
    }
    .esign-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .portal-container {
        grid-template-columns: 1fr;
    }
    .portal-sidebar {
        height: auto;
        position: relative;
    }
    .dash-two-col {
        grid-template-columns: 1fr;
    }
    .how-it-works-steps {
        grid-template-columns: 1fr 1fr;
    }
    .interior-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .portal-grid-dash {
        grid-template-columns: 1fr;
    }
    .esign-benefit-list {
        grid-template-columns: 1fr;
    }
    .how-it-works-steps {
        grid-template-columns: 1fr;
    }
    .signature-controls {
        grid-template-columns: 1fr;
    }
    .interior-grid {
        grid-template-columns: 1fr;
    }
}
