:root {
    --brand: #00cedc;
    --brand-600: #00cedc;
    --bg: #f8fafc;
    --panel: #fff;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --radius: 16px;
    --radius-lg: 16px;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --accent: #00cedc;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

.content-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.content-wrapper {
    position: relative;
    overflow: hidden;
}

/* Team Members Table Styles */
.team-table-wrapper {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px;
}

.team-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--panel);
    border-radius: var(--radius);
}

.team-table th,
.team-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.team-table th {
    font-weight: 600;
    color: var(--ink);
    background: var(--bg);
    white-space: nowrap;
}

.team-table tbody tr {
    transition: background-color 0.2s ease;
}

.team-table tbody tr:hover {
    background: var(--bg);
}

.team-table tbody tr:last-child td {
    border-bottom: none;
}

/* Member cell styling */
.member-cell {
    min-width: 200px;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: 500;
    color: var(--ink);
}

/* Rating cell styling */
.rating-cell {
    white-space: nowrap;
}

.rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 500;
}

.rating .material-symbols-rounded {
    font-size: 18px;
}

/* Status badge styling */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.online {
    background: #dcfce7;
    color: #166534;
}

.status-badge.away {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.busy {
    background: #fee2e2;
    color: #991b1b;
}

/* Action cell styling */
.action-cell {
    white-space: nowrap;
    text-align: right;
}

.icon-btn {
    padding: 8px;
    margin: 0 4px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--bg);
    color: var(--ink);
}

.icon-btn .material-symbols-rounded {
    font-size: 20px;
}

/* Table footer styling */
.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.entries-info {
    color: var(--muted);
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination .btn {
    padding: 8px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .btn.active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .team-table th,
    .team-table td {
        padding: 12px;
    }

    .icon-btn {
        padding: 6px;
    }
}

@media (max-width: 768px) {
    .team-table-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
    }

    .table-actions {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }
}

.highlight-list {
    display: grid;
    /* gap: 16px; */
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.highlight-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    padding: 5px 0px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-list li:hover {
    background: rgba(248, 250, 252, 0.8);
    transform: translateX(8px);
}

.highlight-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.content-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-description-extended {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.company-description-extended p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 16px;
}

.company-description-extended p:last-child {
    margin-bottom: 0;
}

.read-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px auto 0;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--bg);
    color: var(--ink);
    border-color: var(--line);
    transform: translateY(-2px);
}

.read-more-btn.expanded {
    background: var(--bg);
}

.read-more-btn .material-symbols-rounded {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.video {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* panels */
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}
.panel:hover {
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.1);
}


.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 24px;
}

/* Managers and Members Layout */
.managers-members-wrapper {
    display: flex;
    gap: 18px;
}

.managers-members-wrapper > .panel {
    flex: 1;
    min-width: 0;
}

/* cover / banner */
.company-profile {
    padding: 0;
    position: relative;
    background: var(--panel);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Logo Section */
.profile-logo-section {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    justify-content: center;
}

.logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--panel), #f8fafc);
    border: 6px solid var(--panel);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    border-color: rgba(255, 255, 255, 0.95);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.08);
}

/* Banner Section */
.cover-banner {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.2),
        rgba(15, 23, 42, 0.4)
    );
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: saturate(1.1);
}

.company-profile:hover .banner-img {
    transform: scale(1.05) translateY(-2%);
}

.cover-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, #000000, transparent);
    pointer-events: none;
}

/* Company Info Section */
.company-info-section {
    padding: 60px 25px 14px 20px;
    margin-top: 0;
    background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.header-meta h1 {
    font-size: 35px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
    flex: 1;
    text-align: left;
}

.company-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 10px;
}

/* badges */
.badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: center;
}

.badge {
    background: rgba(15, 23, 42, 0.04);
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.badge .material-symbols-rounded {
    font-size: 18px;
}


.action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.btn.prim {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn.prim:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    background: linear-gradient(135deg, var(--accent), var(--brand));
}

.btn.prim .material-symbols-rounded {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn.prim:hover .material-symbols-rounded {
    transform: rotate(15deg);
}

.btn.green-outline {
    border-color: #20a336;
    color: #106d31;
    background: #fff;
    margin-top: 10px;
}
.btn.green-outline:hover {
    background: #e9f7ee;
}

.muted {
    color: var(--muted);
}
a.link {
    color: #137333;
    text-decoration: underline;
}
a.link.strong {
    font-weight: 700;
}

/* header row */
.cover-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    padding: 0 18px 16px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    flex-shrink: 0;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* top actions */
.profile-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.language-selector {
    position: relative;
}
.select-lang {
    appearance: none;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 36px 8px 16px;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    outline: none;
}
.select-lang:hover {
    border-color: var(--accent);
}

.copy-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.copy-profile-link:hover {
    background: #218838;
    transform: translateY(-1px);
}
.copy-profile-link .material-symbols-rounded {
    font-size: 20px;
}

/* services tags */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.service-tag {
    background: var(--bg);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
.service-tag:hover {
    background: var(--accent);
    color: #fff;
}

/* status badges */
.success-badge {
    display: inline-flex;
    align-items: center;
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}
.rating-badge {
    display: inline-flex;
    align-items: center;
    background: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* material icons mapping (sidebar) */
.freelancersidebaarthreeoption .icon {
    font-family: "Material Symbols Rounded";
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    font-size: 20px;
    line-height: 1;
}

/* overview split */
.overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
}
.video {
    position: relative;
    padding-top: 56.25%;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
}
.video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video .ov {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    font-size: 60px;
    color: #fff;
    cursor: pointer;
}

/* right stack cards */
.side-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mini-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}
.mini-title {
    margin: 0 0 8px;
    font-size: 16px;
}
.mini-title .tiny {
    font-size: 16px;
    color: var(--muted);
    vertical-align: middle;
}

.inline-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ibadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 13px;
    background: #f8fafc;
}
.ibadge.pink {
    border-color: #f5c9ec;
    background: #fff0fa;
}

.kv {
    display: grid;
    gap: 8px;
}
.kv > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.kv .lab {
    color: var(--muted);
    font-size: 13px;
}
.kv .val {
    font-weight: 600;
}

/* lists */
/* .list-clean {
    margin: 0;
    padding-left: 18px;
}
.list-clean li {
    margin: 4px 0;
} */

.list-plain {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.list-plain li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
}

/* services accordion */
.accordion details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.accordion details + details {
    margin-top: 10px;
}
.accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 700;
}
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion .body {
    padding: 0 14px 14px;
    color: var(--muted);
}
.svc-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 14px;
}
.svc-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* skills pills */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0px 20px;
    background: #fff;
    color: #374151;
    font-size: 13px;
}

/* portfolio */
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.folio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.folio {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.folio img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.folio .meta {
    padding: 10px;
}

/* work history */
.work {
    display: grid;
    gap: 10px;
}
.work-item {
    display: grid;
    grid-template-columns: 1fr 160px 120px;
    align-items: center;
    border-bottom: 1px dashed var(--line);
    padding: 12px 0;
}
.work-item:last-child {
    border-bottom: 0;
}
.work-title {
    font-weight: 700;
}
.work-meta {
    color: var(--muted);
    font-size: 13px;
}
.work-price {
    color: #111827;
    font-weight: 700;
    margin-top: 4px;
}

/* skills matrix */
.skills-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.skills-table thead th {
    text-align: left;
    font-size: 12px;
    color: var(--muted);
    padding: 0 10px;
}
.skills-table tbody tr {
    background: #f8fafc;
    border: 1px solid var(--line);
}
.skills-table td {
    padding: 12px 10px;
}
.bar {
    height: 8px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}
.bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #d1d1d1);
}

/* people list */
.people {
    display: grid;
    gap: 10px;
}
.person {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag {
    font-size: 11px;
    padding: 0px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #f8fafc;
    color: #374151;
}

/* team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}
.card h4 {
    margin: 0 0 6px;
}
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* responsive */
@media (max-width: 1024px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 960px) {
    .overview {
        grid-template-columns: 1fr;
    }
    aside.freelancersidebaarthreeoption {
        display: none;
    }
    .buyerflow-content {
        padding: 12px;
    }
    .page {
        gap: 16px;
    }
    .work-item {
        grid-template-columns: 1fr 1fr;
        row-gap: 6px;
    }
}

/* Custom Button Style */
.btn-custom1 {
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 28px;
    background: #fff;
    border: 2px solid #1f1f1f;
    color: #1f1f1f;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-custom1:before {
    background-color: #1f1f1f;
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    width: 0;
    z-index: -1;
    transform: skew(50deg);
    transform-origin: top left;
    transition: width 0.6s ease;
}

.btn-custom1:hover {
    color: #fff;
    border: 2px solid #1f1f1f;
}

.btn-custom1:hover:before {
    width: 200%;
}

.notice {
    display: flex;
    gap: 10px;
}
