﻿/* Set-Rents Common Styles */

:root {
    --bg1: #5f7cff;
    --bg2: #06b6d4; /*#7c3aed;*/
    --bg3: #06b6d4;
    --accent: #f59e0b;
    --accent-2: #10b981;
    --ink: #0b1220;
    --ink-2: #475569;
    --card: #ffffffaa;
    --blur: 14px;
    --radius: 22px;
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.2);
    --ring: 0 0 0 8px rgba(245, 158, 11, 0.15);
    --line: rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    color: var(--ink);
    overflow-x: hidden;
}

/* Animated Background */
.bg-hero {
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px 600px at 15% 20%, rgba(124, 58, 237, 0.35), transparent 60%), radial-gradient(800px 400px at 80% 15%, rgba(6, 182, 212, 0.35), transparent 60%), linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
    background-size: 200% 200%;
    animation: flow 18s ease-in-out infinite;
    z-index: -2;
}

.hero {
    margin: 60px auto;
    max-width: 860px;
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255,255,255,.55);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-head {
    padding: 28px 30px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
}

.hero-body {
    padding: 0 30px 28px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(16,185,129,.12);
    color: #065f46;
    padding: 6px 10px;
    border-radius: 999px;
}

h1 {
    margin: 14px 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.muted {
    color: var(--ink-2);
    max-width: 65ch
}

.cta {
    margin: 22px 0 8px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.70));
    border: 1px solid rgba(0,0,0,.06);
    display: grid;
    place-items: center;
}

.start-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: conic-gradient(from 160deg at 50% 50%, #f59e0b, #ec4899, #22d3ee, #a78bfa, #f59e0b);
    padding: 2px;
    /*animation: spin 5.5s linear infinite;*/
}

.start-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    background: #fff;
    display: grid;
    place-items: center;
}

    .start-icon-inner img {
        height: 6rem;
    }

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.start-application-btn {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 22px;
    border-radius: 14px;
    color: #1f2937;
    background: linear-gradient(180deg,#ffe29e,#facc15);
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
    transition: transform .12s ease, box-shadow .12s ease;
}

@keyframes flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px) saturate(120%);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
}

    .orb.one {
        width: 320px;
        height: 320px;
        background: #a78bfa;
        top: 10%;
        left: 6%;
    }

    .orb.two {
        width: 280px;
        height: 280px;
        background: #22d3ee;
        bottom: 12%;
        right: 8%;
        animation-duration: 16s;
    }

    .orb.three {
        width: 220px;
        height: 220px;
        background: #f472b6;
        top: 55%;
        left: 20%;
        animation-duration: 20s;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(8px, -16px);
    }
}

/* Navigation */
.nav {
    width: 100%;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom, rgba(255,255,255,.65), rgba(255,255,255,.35));
    border-bottom: 1px solid rgba(255,255,255,.35);
    position: fixed;
    top: 0;
    z-index: 10;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    width:100%;
}

.nav-icon {
    height:1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.brand-logo {
    height: 3rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow);
}

.brand-logo img {
    height: 3rem;
}


.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.chip {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.2s transform, 0.2s box-shadow, 0.2s background;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    color: inherit;
}

    .chip:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow);
        background: #fff;
    }

/* Avatar Dropdown Styles - Set-Rents Theme */

/* Avatar Dropdown Styles - Set-Rents Theme */

.avatar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s transform, 0.2s box-shadow, 0.2s background;
}

    .avatar:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow);
        background: rgba(255, 255, 255, 0.8);
    }

    .avatar .dot-online {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--accent-2);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    }

    .avatar strong {
        font-weight: 600;
        font-size: 14px;
        color: var(--ink);
    }

    /* Dropdown Menu Container */
    .avatar .dropdown-item {
        position: absolute;
        top: calc(100% + 4px);
        right: 0;
        min-width: 110px;
        padding: 6px;
        background: var(--card);
        backdrop-filter: blur(var(--blur));
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 14px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 1000;
        pointer-events: none;
        justify-content: center;
        display: grid;
    }

    /* Show dropdown on hover (desktop) */
    .avatar:hover .dropdown-item {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Active state for click/touch (mobile) */
    .avatar.active .dropdown-item {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Logout Button Styling */
    .avatar .dropdown-item button {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        background: none;
        color: var(--ink);
        border: none;
        border-radius: 10px;
        font: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        outline: inherit;
        text-align: left;
        transition: 0.2s background, 0.2s transform;
    }

        .avatar .dropdown-item button:hover {
            background: rgba(255, 255, 255, 0.8);
            transform: translateX(2px);
        }

        .avatar .dropdown-item button:active {
            transform: translateX(0) scale(0.98);
        }

    /* Icon Styling */
    .avatar .dropdown-item i {
        font-size: 16px;
        color: var(--ink-2);
        transition: color 0.2s ease;
    }

    .avatar .dropdown-item button:hover i {
        color: var(--ink);
    }

    /* Add chevron down indicator */
    .avatar::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid var(--ink);
        margin-left: 2px;
        transition: transform 0.2s ease;
        opacity: 0.6;
    }

    .avatar:hover::after,
    .avatar.active::after {
        transform: rotate(180deg);
        opacity: 1;
    }

/* Responsive adjustments */
@media (max-width: 640px) {
    .avatar strong {
        display: none;
    }

    .avatar .dropdown-item {
        right: 0;
    }
}

/* Main Container */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 6px 0 18px;
    color: #0f172a
}

/* Cards */
.card {
    background: var(--card);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-body {
    padding: 20px 22px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 22px;
    border-radius: 14px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

    .btn:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .btn:active {
        transform: translateY(0) scale(0.99);
    }

    .btn:focus-visible {
        outline: none;
        box-shadow: var(--ring);
    }

.btn-primary {
    color: #1f2937;
    background: linear-gradient(180deg, #ffe29e, #facc15);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

    .btn-primary:hover {
        box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
    }

/* Divider */
.divider {
    height: 1px;
    background: var(--line);
    margin: 14px 0;
}

/* Typography */
h1 {
    margin: 14px 0 8px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.muted {
    color: var(--ink-2);
    max-width: 65ch;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 6px 0 18px;
    color: #0f172a;
}

/* Breadcrumbs */
.crumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #1f2937;
    margin: 6px 2px 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

    .crumbs a {
        color: #0ea5e9;
        text-decoration: none;
    }

    .crumbs .sep {
        opacity: 0.5;
    }


/* Profile list (left card) */
.kv {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    row-gap: 14px;
    column-gap: 20px;
    align-items: center
}

    .kv .k {
        color: #475569
    }

    .kv .v {
        text-align: right;
        font-weight: 700;
        color: #0f172a
    }

/* Tabs (right top) */
.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 18px 18px 0
}

.tab {
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    color: #0f172a;
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: .2s transform,.2s box-shadow,.2s background
}

    .tab.active {
        background: linear-gradient(180deg,#7dd3fc,#38bdf8);
        color: #0b1220;
        box-shadow: var(--shadow)
    }

    .tab:hover {
        transform: translateY(-1px)
    }

.panel {
    padding: 6px 22px 18px;
    color: #0b1220
}

    .panel .row {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px dashed var(--line)
    }

        .panel .row:last-child {
            border-bottom: 0
        }

/* Summary card */
.sum-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 22px;
}

    .sum-row + .sum-row {
        border-top: 1px solid var(--line)
    }

    .sum-row strong {
        letter-spacing: .01em
    }

.total {
    font-size: 18px;
    font-weight: 800
}

.btn-accept {
    margin: 18px 22px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    width: calc(100% - 44px);
    cursor: pointer;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 22px;
    border-radius: 14px;
    color: #1f2937;
    background: linear-gradient(180deg,#ffe29e,#facc15);
    box-shadow: 0 8px 20px rgba(245,158,11,.35);
    transition: transform .12s ease, box-shadow .12s ease;
}

    .btn-accept:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 10px 24px rgba(245,158,11,.45)
    }

    .btn-accept:active {
        transform: translateY(0) scale(.99)
    }

    .btn-accept:focus-visible {
        outline: none;
        box-shadow: var(--ring)
    }

/* Breadcrumbs */
.crumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #1f2937;
    margin: 6px 2px 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

    .crumbs a {
        color: #0ea5e9;
        text-decoration: none
    }

    .crumbs .sep {
        opacity: .5
    }
/* Footer */
footer {
    margin-top: 80px;
    text-align: center;
    color: #e2e8f0;
    font-size: 13px;
    padding: 20px;
}

    footer a {
        text-decoration: underline;
        opacity: 0.9;
    }

        footer a:hover {
            text-decoration: underline;
        }

.text-center {
    text-align: center;
}

.application-status {
    gap: 24px;
    display: flex;
}

.accordion-button, .accordion-collapse {
    color: #000;
}
/* Responsive */
@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .wrap {
        padding: 34px 20px 80px;
    }

    .application-status {
        gap: 0;
        display: grid;
    }
}


/* Sticky Footer Fix - Add to your existing CSS */

/* Ensure html and body take full height */
html,
body {
    height: 100%;
    margin: 0;
}

/* Create a flex container for the page layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation stays at top */
.nav {
    flex-shrink: 0;
}

/* Main content area should grow to fill available space even when empty */
main.wrap {
    flex: 1 0 auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px 20px 80px;
    width: 100%;
    min-height: calc(100vh - 200px); /* Ensures minimum height */
}

/* Footer stays at bottom */
footer {
    flex-shrink: 0;
    margin-top: 0;
    text-align: center;
    color: #e2e8f0;
    font-size: 13px;
    padding: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    main.wrap {
        padding: 76px 36px 8px 36px;
        min-height: calc(100vh - 150px);
    }
}