/* ======================================
   PROFESSIONAL DASHBOARD – LAYOUT
   ====================================== */
.pro-page {
    background: #1e1e1e;
    color: #ffffff;
    min-height: 100vh;
}

.pro-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 24px 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* ======================================
   SIDEBAR PROFESSIONAL
   ====================================== */

.pro-sidebar {
    width: 230px;
    background: #111111;
    border-radius: 20px;
    border: 1px solid rgba(220, 219, 219, 0.1);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
}

.pro-sidebar__section-title {
    font-family: "Gotham-Bold", Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #f5f5f5;
    margin-bottom: 20px;
    line-height: 1.4;
}

.pro-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pro-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #d3d3d3;
    font-size: 13px;
    font-family: "Gotham-Book", Helvetica, Arial, sans-serif;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

/* hover biasa */
.pro-sidebar__link:hover {
    background: #1e1e1e;
    color: #ffffff;
}

/* ===== ACTIVE STATE (sesuai figma: pill gelap, text + icon orange) ===== */
.pro-sidebar__link.is-active {
    background: #25160e;
    /* pill gelap */
    color: #f68627;
    /* text & icon orange */
    box-shadow: 0 0 0 1px rgba(246, 134, 39, 0.65);
}

/* icon wrapper */
.pro-sidebar__icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* warna icon default (abu-abu muda) */
.pro-sidebar__icon i {
    font-size: 14px;
    color: #d3d3d3;
}

/* warna icon saat active / hover ikut warna link */
.pro-sidebar__link:hover .pro-sidebar__icon i,
.pro-sidebar__link.is-active .pro-sidebar__icon i {
    color: inherit;
    /* jadi putih saat hover, jadi orange saat active */
}

.pro-sidebar__label {
    flex: 1;
    color: inherit;
}

.pro-sidebar__bottom {
    margin-top: 16px;
    border-top: 1px solid rgba(220, 219, 219, 0.08);
    padding-top: 12px;
}

.pro-sidebar__link--logout {
    margin-top: 4px;
    color: #ffb4a2;
}


/* ======================================
   MAIN CONTENT
   ====================================== */

.pro-play-banner {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    margin: 18px 0 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
    min-height: 108px;
}

.pro-play-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.05);
}

.pro-play-banner__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .12) 100%);
}

.pro-play-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.pro-play-banner__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .2px;
}

.pro-play-banner__desc {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    max-width: 520px;
    line-height: 1.35;
}

.pro-play-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #FF8A00;
    color: #111;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(255, 138, 0, .25);
}

.pro-play-banner:hover {
    border-color: rgba(255, 138, 0, .45);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .6);
}

.pro-play-banner:hover .pro-play-banner__cta {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .pro-play-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .pro-play-banner__cta {
        align-self: flex-start;
    }
}


.pro-main {
    flex: 1;
    min-width: 0;
}

/* Toolbar (search + user) */

.pro-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.pro-toolbar--right-only {
    justify-content: flex-end;
}

.pro-toolbar-search {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.pro-search-input {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #343434;
    background: #111111;
    padding: 0 16px 0 42px;
    color: #f5f5f5;
    font-size: 13px;
    font-family: "Gotham-Book", Helvetica, Arial, sans-serif;
    outline: none;
}

.pro-search-input::placeholder {
    color: #777e85;
}

.pro-search-input:focus {
    border-color: #f68627;
    box-shadow: 0 0 0 1px rgba(246, 134, 39, 0.35);
}

.pro-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.pro-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-toolbar-bell {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #343434;
    background: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.pro-toolbar-bell img {
    width: 18px;
    height: 18px;
}

.pro-toolbar-bell-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f68627;
}

.pro-toolbar-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 16px;
    border-radius: 999px;
    background: #111111;
    border: 1px solid #343434;
}

.pro-toolbar-user-info {
    text-align: right;
}

.pro-toolbar-user-name {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #f5f5f5;
}

.pro-toolbar-user-role {
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #b6b6b6;
}

.pro-toolbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #f68627;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    color: #111111;
}

/* SUMMARY CARDS – versi lebih padat */
.pro-summary-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

/* responsive */
@media (max-width: 1200px) {
    .pro-summary-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pro-summary-row {
        grid-template-columns: 1fr;
    }
}

.pro-summary-card {
    background: #151515;
    border-radius: 18px;
    border: 1px solid #262626;
    padding: 14px 16px;
    /* ⬅️ lebih tipis */
    display: flex;
    flex-direction: column;
    /* icon → text → angka */
    align-items: flex-start;
    justify-content: flex-start;
    /* ⬅️ jangan space-between */
    gap: 10px;
    /* jarak antar blok */
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

/* ICON */
.pro-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.pro-summary-icon img {
    width: 20px;
    height: 20px;
}

/* warna background icon */
.pro-summary-icon--projects {
    background: rgba(246, 134, 39, 0.18);
}

.pro-summary-icon--clients {
    background: rgba(46, 204, 113, 0.18);
}

.pro-summary-icon--orders {
    background: rgba(52, 152, 219, 0.18);
}

.pro-summary-icon--loyalty {
    background: rgba(241, 196, 15, 0.18);
}

/* TEXT */
.pro-summary-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 2px;                */
}

.pro-summary-label {
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #d0d0d0;
}

.pro-summary-value {
    font-family: "Gotham-Bold", Helvetica, Arial, sans-serif;
    font-size: 22px;
    /* sedikit lebih kecil biar proporsional */
    line-height: 1.1;
    color: #ffffff;
}

.pro-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
  font-size: 15px;
}

/* biar tombol + jadi kotak kecil rapi */
.pro-card__head .pro-btn--orange{
  padding: 0;
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
}

/* ======================================
   PROJECTS SECTION + TABLE
   ====================================== */

.pro-section {
    margin-top: 8px;
}

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

.pro-section-title {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 2px;
}

.pro-section-subtitle {
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #a8afb5;
    margin: 0;
}

.pro-section-btn {
    min-width: 170px;
    height: 38px;
    padding: 0 20px;
    font-size: 13px;
}

/* Table card wrapper */
.pro-table-card {
    background: #111111;
    border-radius: 22px;
    border: 1px solid rgba(220, 219, 219, 0.12);
    padding: 18px 20px 20px;
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.6);
    overflow-x: auto;
}

/* Table */
.pro-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #dcdbdb;
}

.pro-table thead th {
    text-align: left;
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #8b9299;
    padding: 10px 10px;
    border-bottom: 1px solid #262626;
    white-space: nowrap;
}

.pro-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #1f1f1f;
    vertical-align: middle;
}

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

.pro-table-project-name {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    color: #f5f5f5;
    margin-bottom: 2px;
}

.pro-table-project-code {
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #8b9299;
}

.pro-table-value {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    color: #f6b05c;
}

.pro-table-updated {
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #a8afb5;
}

.pro-table__actions-col {
    text-align: right;
}

.pro-table-actions {
    text-align: right;
}

.pro-table-action-view {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #f68627;
    text-decoration: none;
}

.pro-table-action-view:hover {
    text-decoration: underline;
}

.pro-table-empty {
    text-align: center;
    padding: 20px 10px;
    font-family: "Gotham-Light", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #b6b6b6;
}

/* ======================================
   STATUS BADGES
   ====================================== */

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    border: 1px solid transparent;
    background: #1f1f1f;
    color: #e5e5e5;
    white-space: nowrap;
}

.status-pill--inprogress {
    background: rgba(246, 134, 39, 0.15);
    color: #f6b05c;
    border-color: rgba(246, 134, 39, 0.4);
}

.status-pill--pending {
    background: rgba(217, 180, 85, 0.15);
    color: #ffd76c;
    border-color: rgba(217, 180, 85, 0.4);
}

.status-pill--draft {
    background: rgba(120, 120, 120, 0.12);
    color: #c0c0c0;
    border-color: rgba(120, 120, 120, 0.4);
}

.status-pill--completed {
    background: rgba(92, 214, 137, 0.13);
    color: #7ed957;
    border-color: rgba(92, 214, 137, 0.4);
}

/* ======================================
   PRO – NEW PROJECT MODAL (DESKTOP)
   ====================================== */

.pro-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.pro-modal.is-open {
    display: flex;
}

.pro-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.pro-modal__dialog {
    position: relative;
    width: 520px;
    max-width: 94vw;
    background: #202020;
    border-radius: 18px;
    border: 1px solid rgba(220, 219, 219, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
    padding: 22px 24px 20px;
    box-sizing: border-box;
    color: #dcdbdb;
}

.pro-modal__header {
    margin-bottom: 16px;
    position: relative;
}

.pro-modal__title {
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
    font-size: 18px;
    margin: 0 0 4px;
    color: #ffffff;
}

.pro-modal__subtitle {
    font-size: 12px;
    color: #a8afb5;
    margin: 0;
}

.pro-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.pro-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-modal__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pro-modal__label {
    font-size: 13px;
    color: #e4e4e4;
}

.pro-modal__input,
.pro-modal__textarea,
.pro-modal__select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #343434;
    background: #111111;
    color: #f5f5f5;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    font-family: "Gotham-Book", Helvetica, Arial, sans-serif;
}

.pro-modal__textarea {
    border-radius: 14px;
    resize: vertical;
    min-height: 80px;
}

.pro-modal__input::placeholder,
.pro-modal__textarea::placeholder {
    color: #777e85;
}

.pro-modal__input:focus,
.pro-modal__textarea:focus,
.pro-modal__select:focus {
    border-color: #f68627;
    box-shadow: 0 0 0 1px rgba(246, 134, 39, 0.35);
}

.pro-modal__rooms-row {
    display: flex;
    gap: 8px;
}

.pro-modal__rooms-add {
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid #f68627;
    background: #25160e;
    color: #f6b05c;
    font-size: 12px;
    padding: 0 16px;
    cursor: pointer;
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
}

.pro-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.pro-modal__btn {
    min-width: 130px;
    height: 40px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    font-family: "Gotham-Medium", Helvetica, Arial, sans-serif;
}

.pro-modal__btn--ghost {
    background: #2b2b2b;
    color: #e4e4e4;
}

.pro-modal__btn--primary {
    background: #f68627;
    color: #111111;
    box-shadow: 0 0 22px rgba(246, 134, 39, 0.55);
}

/* body lock */
body.pro-modal-open {
    overflow: hidden;
}

/* =========================
   PRO MODAL – SELECT ARROW FIX
   ========================= */
.pro-modal__select-wrap {
    position: relative;
    display: block;
}

.pro-modal__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
    padding-right: 52px;
    /* ruang arrow */
    cursor: pointer;
}

/* IE old */
.pro-modal__select::-ms-expand {
    display: none;
}

/* matiin pseudo arrow */
.pro-modal__select-wrap::after {
    display: none;
}

/* bikin arrow pake background-image */
.pro-modal__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding-right: 56px;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 14px;

    /* SVG chevron down (putih) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* kalau parent kamu ada overflow hidden yang ketat, ini bantu */
.pro-modal__select {
    position: relative;
    z-index: 1;
}

/* =========================
   PRO CLIENTS (DESKTOP)
   ========================= */

.pro-client-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #b9c0c6;
    font-size: 13px;
}

.pro-client-contact__row {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.pro-client-contact__row i {
    width: 16px;
    opacity: .9;
}

.pro-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #f68627;
    text-decoration: none;
    border: 1px solid rgba(220, 219, 219, 0.10);
}

.pro-icon-action:hover {
    background: rgba(246, 134, 39, 0.10);
    border-color: rgba(246, 134, 39, 0.30);
}

.pro-icon-action--danger {
    color: #c9c9c9;
}

.pro-icon-action--danger:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* modal grid email/phone */
.pro-modal__grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* supaya icon FA di sidebar tetep outline, tidak “keisi” */
.pro-sidebar__icon i {
    font-size: 14px;
    color: inherit;
}

/* active style yang kamu mau (seperti screenshot border + gelap, bukan full orange) */
.pro-sidebar__link.is-active {
    background: rgba(246, 134, 39, 0.12);
    color: #f68627;
    border: 1px solid rgba(246, 134, 39, 0.35);
}

.pro-sidebar__link.is-active .pro-sidebar__label {
    color: #f68627;
}

.pro-sidebar__link.is-active .pro-sidebar__icon {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(246, 134, 39, 0.35);
}

.pro-sidebar__link.is-active .pro-sidebar__icon i {
    color: #f68627;
}