/* LinkedUp.love - LinkedIn Parody Styles */
/* Based on extracted LinkedIn design patterns */

/* CSS Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Variables */
:root {
    --color-brand: #0a66c2;
    --color-brand-love: #e91e63;
    --background-color: #f3f2ef;
    --surface-background: #ffffff;
    --text-color-primary: rgba(0,0,0,0.9);
    --text-color-secondary: rgba(0,0,0,0.6);
    --text-color-light: rgba(0,0,0,0.6);
    --border-color: rgba(0,0,0,0.08);
    --shadow-1: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.1);
    --shadow-2: 0 0 0 1px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color-primary);
    line-height: 1.42857;
    font-size: 14px;
}

/* Global Navigation */
.global-nav {
    background-color: var(--surface-background);
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 52px;
}

.global-nav__content {
    max-width: 1128px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 24px;
}

.global-nav__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-brand);
    margin-right: 40px;
}

.love-accent {
    color: var(--color-brand-love);
}

.global-nav__nav {
    display: flex;
    flex: 1;
}

.global-nav__primary-items {
    display: flex;
    list-style: none;
    gap: 24px;
}

.global-nav__primary-link {
    color: var(--text-color-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}

.global-nav__primary-link:hover {
    color: var(--text-color-primary);
    background-color: rgba(0,0,0,0.08);
}

/* Application Layout */
.application-outlet {
    padding-top: 52px;
    min-height: 100vh;
}

/* Scaffold Layout */
.scaffold-layout {
    display: flex;
    gap: 24px;
    max-width: 1128px;
    margin: 0 auto;
    padding: 24px;
}

.scaffold-layout__main {
    flex: 1;
    min-width: 0;
}

.scaffold-layout__aside {
    width: 312px;
}

/* Art Deco Card Component */
.artdeco-card {
    background-color: var(--surface-background);
    border-radius: 8px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

/* Profile Top Card */
.pv-top-card {
    position: relative;
}

.pv-top-card__background-container {
    height: 200px;
    overflow: hidden;
}

.pv-top-card__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-top-card__content {
    padding: 24px;
    position: relative;
}

.pv-top-card__photo-wrapper {
    position: absolute;
    top: -92px;
    left: 24px;
}

.pv-top-card-profile-picture {
    width: 152px;
    height: 152px;
    border: 4px solid var(--surface-background);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.pv-top-card-profile-picture__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-text-details__left-panel {
    margin-left: 176px;
    margin-top: -32px;
}

/* Typography */
.text-heading-xlarge {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
}

.text-body-medium {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.text-body-small {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.t-24 { font-size: 24px; }
.t-20 { font-size: 20px; }
.t-16 { font-size: 16px; }
.t-14 { font-size: 14px; }
.t-12 { font-size: 12px; }

.t-bold { font-weight: 600; }
.t-normal { font-weight: 400; }
.t-black--light { color: var(--text-color-light); }

/* Buttons */
.artdeco-button {
    align-items: center;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-weight: 600;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all 167ms cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
}

.artdeco-button--2 {
    padding: 6px 16px;
    font-size: 16px;
    line-height: 20px;
    min-height: 32px;
}

.artdeco-button--primary {
    background-color: var(--color-brand);
    color: #ffffff;
}

.artdeco-button--primary:hover {
    background-color: #004182;
}

.artdeco-button--secondary {
    background-color: transparent;
    border: 1px solid var(--color-brand);
    color: var(--color-brand);
}

.artdeco-button--secondary:hover {
    background-color: rgba(10,102,194,0.08);
    border-color: #004182;
}

.artdeco-button--muted {
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.6);
    color: rgba(0,0,0,0.6);
}

.artdeco-button--tertiary {
    background-color: transparent;
    color: var(--color-brand);
}

/* The One Badge */
.pv-top-card__the-one-section {
    margin-top: 16px;
}

.the-one-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 24px;
    padding: 4px 12px;
}

.the-one-icon {
    font-size: 20px;
}

.the-one-text {
    font-size: 14px;
    font-weight: 500;
    color: #856404;
}

.vote-button {
    margin-left: 8px;
    padding: 2px 12px;
    background-color: #ffc107;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.vote-button:hover {
    background-color: #e0a800;
}

/* CTA Container */
.pv-top-card__cta-container {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    margin-left: 176px;
}

/* Sections */
.pv-profile-section {
    padding: 24px;
}

.pvs-header__container {
    margin-bottom: 16px;
}

.pvs-header__title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

/* Highlights */
.pv-highlights {
    display: flex;
    gap: 24px;
    padding: 16px 24px 24px;
}

.pv-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-icon {
    font-size: 20px;
}

.highlight-text {
    font-size: 14px;
    color: var(--text-color-secondary);
}

/* Lists */
.pvs-list {
    list-style: none;
}

.pvs-list__item--line-separated {
    border-top: 1px solid var(--border-color);
}

.pvs-list__item--line-separated:first-child {
    border-top: none;
}

/* Entity */
.pvs-entity {
    display: flex;
}

.pvs-entity--padded {
    padding: 16px 0;
}

.pvs-entity__image-container {
    margin-right: 12px;
}

.pvs-entity__image {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
}

/* Voting Widget */
.relationship-voting {
    margin-top: 12px;
}

.vote-the-one-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.vote-the-one-btn:hover {
    background-color: rgba(0,0,0,0.04);
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.vote-icon {
    font-size: 16px;
}

/* Skills */
.pv-skill-item {
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
}

.pv-skill-item:first-child {
    border-top: none;
}

.skill-level {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background-color: #e1ecf4;
    border-radius: 12px;
    font-size: 12px;
    color: var(--color-brand);
}

.pv-skill-endorsements {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.endorsement-count {
    font-size: 14px;
    color: var(--text-color-secondary);
}

.endorse-button {
    padding: 2px 12px;
    background-color: transparent;
    border: 1px solid var(--color-brand);
    border-radius: 16px;
    color: var(--color-brand);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.endorse-button:hover {
    background-color: rgba(10,102,194,0.08);
}

/* Sidebar Cards */
.pv-endorsement-entity {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

.EntityPhoto-circle-3 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.pv-endorsement-entity__detail {
    flex: 1;
}

/* Stats */
.relationship-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-brand);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-color-secondary);
}

/* Profile Images */
.profile-image-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image--large {
    border: 4px solid var(--surface-background);
    box-shadow: var(--shadow-2);
}

.profile-image--loading {
    background-color: #f3f2ef;
}

.profile-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f2ef;
}

.profile-image-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f2ef;
    border-top-color: var(--color-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.profile-image {
    display: block;
    object-fit: cover;
}

.image-attribution {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    color: var(--text-color-light);
}

/* Background Patterns */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255,255,255,.1) 35px,
            rgba(255,255,255,.1) 70px
        );
}

/* Footer */
.global-footer {
    margin-top: 48px;
    padding: 24px;
    background-color: var(--background-color);
}

.global-footer__content {
    max-width: 1128px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
}

/* Utility Classes */
.mt1 { margin-top: 4px; }
.mt2 { margin-top: 8px; }
.mr1 { margin-right: 4px; }
.display-flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-1 { flex: 1; }
.align-items-center { align-items: center; }
.break-words { word-break: break-word; }
.white-space-pre-wrap { white-space: pre-wrap; }
.visually-hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }