/* Google Moma-style Team Portal */

:root {
    --ansible-dark: #263f6e;
    --ansible-light: #5da1d8;
    --google-blue: #1a73e8;
    --google-blue-light: #e8f0fe;
    --header-gradient-start: #e8dff5;
    --header-gradient-mid: #d4c4e8;
    --header-gradient-end: #b8d4f0;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-link: #1a73e8;
    --bg-page: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: #dadce0;
    --border-light: #e8eaed;
    --shadow-sm: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px rgba(60,64,67,0.15);
    --shadow-md: 0 1px 3px rgba(60,64,67,0.3), 0 4px 8px rgba(60,64,67,0.15);
    --radius: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

/* ===================== */
/* Top Navigation */
/* ===================== */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background 0.2s;
}

.nav-icon-btn:hover {
    background: rgba(0,0,0,0.04);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 400;
    padding: 8px 12px;
}

.brand-icon {
    font-size: 24px;
}

.brand-text {
    font-family: 'Google Sans', sans-serif;
}

.nav-center {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-wrapper {
    position: relative;
    background: var(--bg-page);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 46px;
    border: 1px solid transparent;
    transition: background 0.2s, box-shadow 0.2s;
}

.search-wrapper:focus-within {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.search-icon {
    color: var(--text-secondary);
    font-size: 20px;
    margin-right: 12px;
}

.search-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    color: var(--text-primary);
}

.search-wrapper input::placeholder {
    color: var(--text-secondary);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    gap: 12px;
}

.search-result-item:hover {
    background: var(--bg-page);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.user-menu {
    position: relative;
}

/* ===================== */
/* Main Layout */
/* ===================== */

.app-main {
    padding-top: 64px;
    min-height: 100vh;
}

/* ===================== */
/* Login Screen */
/* ===================== */

.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    background: linear-gradient(135deg, var(--header-gradient-start) 0%, var(--header-gradient-mid) 50%, var(--header-gradient-end) 100%);
}

.login-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 400px;
}

.login-brand {
    margin-bottom: 32px;
}

.login-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
}

.login-brand h1 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-brand p {
    color: var(--text-secondary);
}

.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    transition: background 0.2s, box-shadow 0.2s;
}

.google-btn:hover {
    background: var(--bg-page);
    box-shadow: var(--shadow-sm);
}

.google-btn svg {
    flex-shrink: 0;
}

/* ===================== */
/* Profile View */
/* ===================== */

.profile-view {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Profile Header */
.profile-header {
    position: relative;
    margin-bottom: 24px;
}

.header-bg {
    height: 200px;
    overflow: hidden;
}

.header-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    position: absolute;
    bottom: -50px;
    left: 40px;
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    background: var(--bg-card);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.profile-identity {
    padding-bottom: 16px;
}

.profile-identity h1 {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.profile-pronouns {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.header-actions {
    position: absolute;
    top: 16px;
    right: 24px;
}

.btn-edit-profile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-edit-profile:hover {
    background: var(--bg-page);
    box-shadow: var(--shadow-sm);
}

.btn-edit-profile .material-icons-outlined {
    font-size: 18px;
}

/* Profile Content - 3 Column */
.profile-content {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 24px;
    padding: 70px 24px 24px;
}

.profile-section {
    min-width: 0;
}

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

.section-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.section-link {
    font-size: 13px;
    color: var(--text-link);
    text-decoration: none;
}

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

/* ===================== */
/* Managers / Org Tree */
/* ===================== */

.managers-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.org-tree {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.org-tree-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
}

.org-tree-item:hover {
    background: var(--bg-page);
    margin: 0 -20px;
    padding: 12px 20px;
}

.org-tree-line {
    width: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.org-tree-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -12px;
    bottom: 50%;
    width: 2px;
    background: var(--border-color);
}

.org-tree-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--border-color);
}

.org-tree-item:first-child .org-tree-line::before {
    display: none;
}

.org-tree-item.current .org-tree-line::after {
    display: none;
}

.org-tree-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.org-tree-info {
    flex: 1;
    min-width: 0;
}

.org-tree-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-tree-title {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-tree-reports {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.org-tree-item.current {
    background: var(--google-blue-light);
    margin: 0 -20px;
    padding: 12px 20px;
    border-radius: var(--radius);
}

.org-tree-item.current .org-tree-avatar {
    border: 2px solid var(--google-blue);
}

/* ===================== */
/* Cards */
/* ===================== */

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.reports-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.reports-summary .dot {
    font-size: 8px;
}

/* ===================== */
/* Reports Table */
/* ===================== */

.reports-card {
    margin-bottom: 24px;
}

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

.reports-table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.reports-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.reports-table tr:last-child td {
    border-bottom: none;
}

.reports-table tr:hover {
    background: var(--bg-page);
    cursor: pointer;
}

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

.report-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.report-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.report-title {
    font-size: 12px;
    color: var(--text-secondary);
}

.report-fte {
    font-size: 14px;
    color: var(--text-primary);
}

.report-location {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.report-loc-city {
    font-size: 13px;
    color: var(--text-primary);
}

.report-loc-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.status-badge.wfh {
    background: #e6f4ea;
    color: #137333;
}

.status-badge.ooo {
    background: #fce8e6;
    color: #c5221f;
}

.status-badge.vacation {
    background: #fff8e1;
    color: #f9a825;
}

.status-badge.office {
    background: #e8f0fe;
    color: #1967d2;
}

/* ===================== */
/* Badges Grid */
/* ===================== */

.badges-card .card-header {
    border-bottom: none;
    padding-bottom: 0;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--google-blue);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.btn-text:hover {
    background: var(--google-blue-light);
}

.btn-text .material-icons-outlined {
    font-size: 18px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 16px;
    padding: 16px 20px 20px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.badge-name {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

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

/* ===================== */
/* Time Card */
/* ===================== */

.time-card {
    padding: 20px;
    margin-bottom: 16px;
}

.local-time-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.time-large {
    font-size: 32px;
    font-weight: 400;
    color: var(--text-primary);
}

.time-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.timezone-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.mini-calendar {
    margin-bottom: 16px;
}

.mini-calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mini-calendar-day {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.mini-calendar-row {
    display: flex;
    gap: 4px;
}

.mini-calendar-cell {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-primary);
    border-radius: 50%;
}

.mini-calendar-cell.today {
    background: var(--google-blue);
    color: white;
    font-weight: 500;
}

.mini-calendar-cell.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    background: var(--google-blue);
    border-radius: 50%;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.status-row .material-icons-outlined {
    font-size: 18px;
    color: var(--text-secondary);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: transparent;
    color: var(--google-blue);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.btn-outline:hover {
    background: var(--google-blue-light);
}

.calendar-btn {
    width: 100%;
    justify-content: center;
}

/* ===================== */
/* Contact Card */
/* ===================== */

.contact-card {
    padding: 20px;
    margin-bottom: 16px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-info {
    flex: 1;
}

.contact-role {
    font-size: 12px;
    color: var(--text-secondary);
}

.contact-name {
    font-size: 14px;
    color: var(--text-link);
    text-decoration: none;
}

.contact-name:hover {
    text-decoration: underline;
}

.map-embed {
    height: 120px;
    background: #e8eaed;
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-placeholder .material-icons-outlined {
    font-size: 48px;
    opacity: 0.5;
}

.location-text {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.link-text {
    font-size: 13px;
    color: var(--text-link);
    text-decoration: none;
}

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

.contact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
}

.contact-actions:first-of-type {
    margin-top: 16px;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    flex: 1;
}

.contact-action .material-icons-outlined {
    font-size: 20px;
    color: var(--text-secondary);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-link);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
}

.copy-btn:hover {
    text-decoration: underline;
}

/* ===================== */
/* Details Card with Tabs */
/* ===================== */

.details-card {
    overflow: hidden;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
}

.tab {
    flex: 1;
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--google-blue);
    border-bottom-color: var(--google-blue);
}

.tab-content {
    padding: 16px 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-value {
    font-size: 13px;
    color: var(--text-primary);
    text-align: right;
}

.empty-state {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

/* ===================== */
/* Directory View */
/* ===================== */

.directory-view {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.directory-header h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
}

.directory-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--bg-card);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    background: var(--bg-page);
    border-radius: var(--radius);
    padding: 4px;
}

.toggle-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-secondary);
}

.toggle-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.employee-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.employee-card:hover {
    box-shadow: var(--shadow-md);
}

.employee-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.employee-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.employee-card-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.employee-card-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===================== */
/* Modals */
/* ===================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-modal {
    max-width: 700px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 400;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-page);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
}

/* Edit Profile Modal */
.edit-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.edit-note a {
    color: var(--text-link);
}

.photo-editors {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.photo-editor {
    display: flex;
    align-items: center;
    gap: 16px;
}

.photo-editor img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.photo-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.photo-label a {
    color: var(--text-link);
    text-decoration: none;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--google-blue);
}

.input-with-action {
    display: flex;
    gap: 8px;
}

.input-with-action input {
    flex: 1;
}

.btn-link {
    background: none;
    border: none;
    color: var(--text-link);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    color: var(--text-secondary);
    margin-top: 8px;
}

.checkbox-label input {
    width: auto !important;
}

.record-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Badge Modal */
.badge-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.badge-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.badge-option:hover {
    border-color: var(--google-blue);
}

.badge-option.selected {
    border-color: var(--google-blue);
    background: var(--google-blue-light);
}

.badge-option-icon {
    font-size: 32px;
}

.badge-option-name {
    font-size: 13px;
    color: var(--text-primary);
    text-align: center;
}

/* Buttons */
.btn-primary {
    padding: 10px 24px;
    background: var(--google-blue);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-secondary {
    padding: 10px 24px;
    background: transparent;
    color: var(--google-blue);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-page);
}

/* ===================== */
/* Utilities */
/* ===================== */

.hidden {
    display: none !important;
}

/* ===================== */
/* Responsive */
/* ===================== */

@media (max-width: 1200px) {
    .profile-content {
        grid-template-columns: 260px 1fr 300px;
    }
}

@media (max-width: 992px) {
    .profile-content {
        grid-template-columns: 1fr 1fr;
    }

    .managers-section {
        grid-column: 1 / -1;
        order: 1;
    }

    .main-section {
        order: 2;
    }

    .sidebar-section {
        order: 3;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }

    .profile-content {
        grid-template-columns: 1fr;
        padding: 60px 16px 16px;
    }

    .header-content {
        left: 20px;
        bottom: -40px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-identity h1 {
        font-size: 22px;
    }

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

    .badge-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}
