:root{
  --black:#050505;
  --dark:#1a1a1a;
  --gray-900:#222;
  --gray-700:#4a4a4a;
  --gray-500:#65676b;
  --gray-300:#ced0d4;
  --gray-100:#e4e6eb;
  --white:#ffffff;
  --bg:#f0f2f5;
  --card-bg:#ffffff;
  --line:#dcdfe4;
  --radius:12px;
  --radius-lg:14px;
  --radius-full:999px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.10);
  --shadow-md:0 2px 10px rgba(0,0,0,.10);
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Helvetica Neue',Arial,sans-serif;
  background:var(--bg);
  color:var(--black);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;}

.container{max-width:1120px;margin:0 auto;padding:0 20px;}

/* Header */
.site-header{
  background:var(--white);box-shadow:var(--shadow-sm);
  position:sticky;top:0;z-index:50;
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:64px;}
.header-left{display:flex;align-items:center;gap:18px;}
.logo{font-weight:800;font-size:20px;letter-spacing:.5px;flex-shrink:0;}
.logo span{opacity:.5;}
.nav-search input{
  background:var(--gray-100);border:none;border-radius:var(--radius-full);
  padding:9px 16px;font-size:14px;width:220px;color:var(--black);
}
.nav-search input:focus{outline:2px solid var(--black);background:var(--white);}
.nav{display:flex;gap:6px;align-items:center;}
.nav a{font-size:14px;font-weight:600;letter-spacing:.2px;padding:8px 14px;border-radius:var(--radius-full);}
.nav a:hover{background:var(--gray-100);}
.nav .btn{border:none;}

.btn{
  display:inline-block;background:var(--black);color:var(--white);
  padding:10px 20px;border-radius:var(--radius-full);font-weight:700;font-size:14px;
  border:none;cursor:pointer;transition:.15s;
}
.btn:hover{background:var(--gray-900);}
.btn-outline{background:var(--gray-100);color:var(--black);}
.btn-outline:hover{background:var(--gray-300);}
.btn-sm{padding:7px 16px;font-size:12px;}
.btn-danger{background:var(--gray-100);color:#c0392b;}
.btn-danger:hover{background:#f5d6d1;}
.btn-block{display:block;width:100%;text-align:center;}

/* Hero */
.hero{padding:56px 0 40px;text-align:center;}
.hero h1{font-size:36px;font-weight:800;letter-spacing:-1px;margin-bottom:12px;}
.hero p{color:var(--gray-700);font-size:16px;margin-bottom:26px;}
.search-bar{max-width:520px;margin:0 auto;display:flex;gap:8px;}
.search-bar input{flex:1;padding:13px 16px;border:none;border-radius:var(--radius-full);font-size:15px;background:var(--white);box-shadow:var(--shadow-sm);}
.search-bar button{border-radius:var(--radius-full);}

/* Sections */
.section{padding:36px 0;}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px;}
.section-head h2{font-size:20px;font-weight:800;}
.section-head a{font-size:13px;font-weight:700;color:var(--gray-700);}
.section-head a:hover{color:var(--black);}

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

/* Cards */
.card{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--card-bg);box-shadow:var(--shadow-sm);transition:.15s transform,.15s box-shadow;
}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);}
.card .thumb{width:100%;aspect-ratio:1/1;object-fit:cover;background:var(--gray-100);}
.card .body{padding:14px;}
.card .name{font-weight:800;font-size:15px;}
.card .stage{font-size:12px;color:var(--gray-700);font-style:italic;}
.card .meta{font-size:12px;color:var(--gray-700);margin-top:6px;}
.card .tag-row{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap;}
.tag{background:var(--gray-100);font-size:11px;font-weight:700;padding:3px 10px;border-radius:var(--radius-full);}

/* Category chips */
.card .thumb-project{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--gray-100);}

.chip-row{display:flex;flex-wrap:wrap;gap:10px;}
.chip{background:var(--white);box-shadow:var(--shadow-sm);padding:8px 16px;border-radius:var(--radius-full);font-weight:700;font-size:13px;}
.chip:hover{background:var(--black);color:var(--white);}

/* Forms */
.form-wrap{max-width:480px;margin:50px auto;background:var(--card-bg);box-shadow:var(--shadow-md);border-radius:var(--radius-lg);padding:36px;}
.form-wrap.wide{max-width:820px;}
.form-wrap h1{font-size:24px;font-weight:800;margin-bottom:6px;}
.form-wrap .sub{color:var(--gray-700);font-size:14px;margin-bottom:26px;}
.field{margin-bottom:18px;}
.field label{display:block;font-weight:700;font-size:13px;margin-bottom:6px;}
.field .hint{font-size:12px;color:var(--gray-500);margin-top:4px;}
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=date],
input[type=number],input[type=url],select,textarea{
  width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;font-size:14px;
  font-family:inherit;background:var(--gray-100);color:var(--black);transition:.15s;
}
input:focus,select:focus,textarea:focus{outline:none;background:var(--white);border-color:var(--black);box-shadow:0 0 0 1px var(--black);}
textarea{resize:vertical;min-height:100px;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;}
.checkbox-group{display:flex;flex-wrap:wrap;gap:10px;}
.checkbox-group label{background:var(--gray-100);padding:6px 12px;border-radius:var(--radius-full);font-size:13px;font-weight:600;cursor:pointer;display:flex;gap:6px;align-items:center;}
.checkbox-group label:has(input:checked){background:var(--black);color:var(--white);}
.roles-picker{max-height:280px;overflow-y:auto;border:1px solid var(--line);border-radius:10px;padding:14px;align-content:flex-start;background:var(--white);}
.section-title{font-weight:800;font-size:15px;margin:26px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--line);}
.otp-input{letter-spacing:10px;font-size:24px;text-align:center;font-weight:800;}

/* Phone / WhatsApp country-code field */
.phone-field{display:flex;gap:8px;}
.phone-field select{flex:0 0 150px;padding:11px 8px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--gray-100);}
.phone-field input{flex:1;}

/* Facebook-style avatar picker */
.avatar-picker{display:flex;align-items:center;gap:16px;}
.avatar-picker .avatar-frame{position:relative;width:96px;height:96px;flex-shrink:0;}
.avatar-picker .avatar-frame img{width:96px;height:96px;border-radius:50%;object-fit:cover;box-shadow:var(--shadow-md);}
.avatar-edit-btn{
  background:var(--black);color:var(--white);border:3px solid var(--white);
  width:30px;height:30px;border-radius:50%;position:absolute;bottom:0;right:0;
  cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-md);
}
.avatar-edit-btn:hover{background:var(--gray-900);}
.avatar-picker .avatar-hint{font-size:12px;color:var(--gray-500);}

/* Cropper modal */
.cropper-modal-body{max-height:400px;overflow:hidden;background:#222;border-radius:8px;}
.cropper-modal-body img{display:block;max-width:100%;}

/* Alerts */
.alert{padding:12px 16px;border-radius:10px;font-size:14px;font-weight:600;margin-bottom:18px;background:var(--gray-100);}
.alert-error{background:#fdeceb;color:#c0392b;}
.alert-ok{background:#e9f7ef;color:#1e7e42;}

/* Profile page */
.profile-card{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);overflow:hidden;margin-top:24px;}
.profile-header-body{padding:32px;}
.profile-avatar{width:130px;height:130px;border-radius:50%;object-fit:cover;box-shadow:var(--shadow-md);background:var(--gray-100);flex-shrink:0;}
.profile-header-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px;}
.profile-identity{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
.profile-header-top h1{font-size:28px;font-weight:800;}
.profile-header-top .stage{color:var(--gray-700);font-style:italic;margin:2px 0 10px;font-size:15px;}
.profile-header-top .tag-row{margin-bottom:8px;}
.profile-views{font-size:12px;color:var(--gray-500);font-weight:600;}
.profile-header-actions{display:flex;gap:10px;flex-wrap:wrap;}
.profile-bio{margin:22px 0;color:var(--gray-900);font-size:15px;line-height:1.75;}
.profile-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:22px 0;}
.info-chip{background:var(--gray-100);border-radius:10px;padding:12px 14px;}
.info-chip .label{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--gray-700);font-weight:700;margin-bottom:4px;}
.info-chip .value{font-size:14px;font-weight:700;color:var(--black);word-break:break-word;}
.profile-actions{display:flex;gap:10px;margin-top:14px;}
.info-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin-top:14px;font-size:14px;}
.info-list b{display:inline-block;min-width:90px;}
.social-row{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
.social-row a{background:var(--gray-100);padding:6px 14px;border-radius:var(--radius-full);font-size:13px;font-weight:700;}
.social-row a:hover{background:var(--gray-300);}

.project-item{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:20px;}
.project-thumb-wrap{position:relative;width:100%;aspect-ratio:16/9;background:#111;overflow:hidden;display:block;}
.project-thumb-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:.25s transform;}
.project-thumb-wrap:hover img{transform:scale(1.04);}
.project-thumb-wrap .play-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,0);transition:.2s background;
}
.project-thumb-wrap:hover .play-overlay{background:rgba(0,0,0,.25);}
.project-thumb-wrap .play-overlay span{
  width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.95);
  display:flex;align-items:center;justify-content:center;font-size:20px;opacity:0;transition:.2s;
  box-shadow:0 2px 10px rgba(0,0,0,.3);
}
.project-thumb-wrap:hover .play-overlay span{opacity:1;}
.project-year-badge{
  position:absolute;top:12px;right:12px;background:rgba(5,5,5,.85);color:var(--white);
  font-size:12px;font-weight:800;padding:4px 12px;border-radius:var(--radius-full);
}
.project-body-pad{padding:16px 18px 18px;}
.project-body-pad h3{font-size:18px;font-weight:800;margin-bottom:2px;}
.project-body-pad .role-tag{display:inline-block;background:var(--gray-100);font-size:12px;font-weight:700;padding:4px 12px;border-radius:var(--radius-full);margin:6px 0 12px;}
.project-body-pad p{color:var(--gray-700);font-size:14px;line-height:1.6;}
.project-body-pad .project-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}

/* YouTube-style compact project grid (used on public profile pages) */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-top:20px;}
.project-card-sm{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:10px;overflow:hidden;transition:.15s box-shadow;}
.project-card-sm:hover{box-shadow:var(--shadow-md);}
.thumb-wrap-sm{position:relative;width:100%;aspect-ratio:16/9;background:#111;overflow:hidden;display:block;}
.thumb-wrap-sm img{width:100%;height:100%;object-fit:cover;display:block;transition:.2s transform;}
.thumb-wrap-sm:hover img{transform:scale(1.05);}
.project-year-badge-sm{position:absolute;bottom:6px;right:6px;background:rgba(5,5,5,.85);color:var(--white);font-size:10px;font-weight:800;padding:2px 8px;border-radius:var(--radius-full);}
.project-card-sm-body{padding:10px 12px 12px;}
.project-card-sm-body .name{font-weight:800;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.project-card-sm-body .meta{font-size:12px;color:var(--gray-700);margin-top:4px;}
.project-card-sm-body .report-link-sm{margin-top:6px;font-size:11px;color:var(--gray-500);background:none;border:none;text-decoration:underline;cursor:pointer;padding:0;}

/* Compact thumbnail used in the project management list */
/* Project management gallery ("My Projects" page) */
.project-manage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin:20px 0 36px;}
.project-manage-card{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);overflow:hidden;}
.project-manage-desc{color:var(--gray-700);font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 14px;}
.project-manage-footer{border-top:1px solid var(--line);padding-top:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.project-manage-footer input[type=file]{flex:1;min-width:140px;font-size:12px;background:none;border:none;padding:0;}

/* Tables (admin) */
table{width:100%;border-collapse:collapse;font-size:14px;}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;}
th{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:var(--gray-700);}
tr:hover td{background:var(--gray-100);}

/* Admin layout */
.admin-wrap{display:flex;min-height:100vh;}
.admin-sidebar{width:230px;background:var(--card-bg);box-shadow:var(--shadow-sm);padding:20px 0;flex-shrink:0;}
.admin-sidebar .logo{padding:0 20px 20px;border-bottom:1px solid var(--line);margin-bottom:10px;}
.admin-sidebar a{display:block;padding:10px 20px;font-size:14px;font-weight:600;border-left:3px solid transparent;}
.admin-sidebar a:hover, .admin-sidebar a.active{border-color:var(--black);background:var(--gray-100);font-weight:800;}
.admin-main{flex:1;padding:30px;}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:30px;}
.stat-card{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:10px;padding:18px;}
.stat-card .num{font-size:28px;font-weight:800;}
.stat-card .label{font-size:12px;color:var(--gray-700);text-transform:uppercase;letter-spacing:.5px;}
.panel{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:10px;padding:22px;margin-bottom:24px;}
.panel h2{font-size:17px;font-weight:800;margin-bottom:16px;}
.pill{font-size:11px;font-weight:800;padding:3px 10px;border-radius:var(--radius-full);background:var(--gray-100);}
.pill.on{background:var(--black);color:var(--white);}

.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:20px;}
.tabs a{padding:10px 18px;font-weight:700;font-size:13px;background:var(--gray-100);border-radius:8px 8px 0 0;margin-bottom:-1px;}
.tabs a.active{background:var(--black);color:var(--white);}

/* Footer */
.site-footer{margin-top:50px;padding:32px 0;text-align:center;font-size:13px;color:var(--gray-700);}

/* Utility */
.empty{padding:50px 0;text-align:center;color:var(--gray-500);}
.flex{display:flex;}.between{justify-content:space-between;}.center{align-items:center;}.gap{gap:10px;}
.mt{margin-top:20px;}.mb{margin-bottom:20px;}
.small{font-size:12px;color:var(--gray-500);}
.filters-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px;}
.filters-bar select, .filters-bar input{padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--gray-100);}

/* Redesigned directory filter panel */
.filters-panel{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);padding:22px 24px;margin-bottom:24px;}
.filters-panel .field{margin-bottom:16px;}
.filters-panel .field:last-child{margin-bottom:0;}
.filters-panel label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--gray-700);margin-bottom:6px;}
.filters-panel input, .filters-panel select{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;font-size:14px;background:var(--gray-100);}
.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px 16px;margin-bottom:18px;}
.filters-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:2px;padding-top:16px;}
.filters-count{margin-left:auto;font-size:13px;color:var(--gray-700);font-weight:600;}
@media(max-width:640px){.filters-count{margin-left:0;order:3;width:100%;}}

/* 3-column feed layout (homepage) */
.feed-layout{display:grid;grid-template-columns:240px minmax(0,1fr) 300px;gap:20px;align-items:start;}
.feed-col-left, .feed-col-right{position:sticky;top:80px;}
.mini-profile-card{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);padding:20px 16px;text-align:center;margin-bottom:16px;}
.mini-profile-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;box-shadow:var(--shadow-md);margin:0 auto 10px;display:block;}
.mini-profile-card .name{font-weight:800;font-size:15px;}
.mini-profile-card .stage{font-size:12px;color:var(--gray-700);font-style:italic;margin:2px 0 4px;}
.mini-profile-card .meta{font-size:12px;color:var(--gray-700);margin-bottom:10px;}
.mini-profile-card .tag-row{justify-content:center;}
.sidebar-nav{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);overflow:hidden;}
.sidebar-nav a{display:block;padding:12px 18px;font-weight:700;font-size:14px;}
.sidebar-nav a:hover{background:var(--gray-100);}
.sidebar-nav a.active{background:var(--black);color:var(--white);}

/* Settings page layout */
.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start;}
.settings-layout .sidebar-nav{position:sticky;top:80px;}
.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;align-items:start;}
@media(max-width:800px){
  .settings-layout{grid-template-columns:1fr;}
  .settings-layout .sidebar-nav{position:static;display:flex;overflow-x:auto;}
  .settings-layout .sidebar-nav a{white-space:nowrap;}
}
.sidebar-widget{background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);padding:18px;margin-bottom:16px;}
.sidebar-widget h3{font-size:15px;font-weight:800;margin-bottom:14px;}
.mini-artist-row{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.mini-artist-row:last-child{margin-bottom:0;}
.mini-artist-row img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.mini-artist-row .name{font-weight:700;font-size:13px;line-height:1.3;}
.mini-artist-row .meta{font-size:11px;color:var(--gray-700);}
.sidebar-projects-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.sidebar-projects-grid .project-card-sm{box-shadow:none;border:1px solid var(--line);}
.sidebar-projects-grid .project-card-sm-body{padding:8px 10px 10px;}
.sidebar-projects-grid .project-card-sm-body .name{font-size:12px;}
.sidebar-widget .view-all{display:block;text-align:right;font-size:12px;font-weight:700;border-top:1px solid var(--line);padding-top:12px;margin-top:14px;}
.contact-cta{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--black);color:var(--white);border-radius:var(--radius-full);padding:15px;font-weight:800;font-size:14px;box-shadow:var(--shadow-sm);}
.contact-cta:hover{background:var(--gray-900);}
.feed-search-bar{display:flex;gap:8px;margin-bottom:20px;}
.feed-search-bar input{flex:1;padding:12px 16px;border:none;border-radius:var(--radius-full);font-size:14px;background:var(--card-bg);box-shadow:var(--shadow-sm);}

/* Facebook-style "create post" composer box */
.composer-box{display:flex;align-items:center;gap:12px;background:var(--card-bg);box-shadow:var(--shadow-sm);border-radius:var(--radius-full);padding:8px 10px;margin-bottom:20px;}
.composer-box img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.composer-box .composer-input{flex:1;background:var(--gray-100);border-radius:var(--radius-full);padding:10px 16px;color:var(--gray-700);font-size:14px;transition:.15s background;}
.composer-box:hover .composer-input{background:var(--gray-300);}
.composer-box .composer-plus{width:36px;height:36px;border-radius:50%;background:var(--black);color:var(--white);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;flex-shrink:0;}

/* Feed post author byline (used above project cards in the main feed) */
.feed-post-author{display:flex;align-items:center;gap:10px;padding:14px 18px;}
.feed-post-author img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.feed-post-author .name{font-weight:800;font-size:14px;}
.feed-post-author .meta{font-size:12px;color:var(--gray-700);}
@media(max-width:960px){
  .feed-layout{grid-template-columns:1fr;}
  .feed-col-left, .feed-col-right{position:static;}
  .nav-search{display:none;}
}

@media(max-width:720px){
  .row2,.row3{grid-template-columns:1fr;}
  .nav{gap:4px;}
  .profile-header-body{padding:24px 20px;}
  .profile-header-top{flex-direction:column;}
  .profile-identity{flex-direction:column;text-align:center;width:100%;}
  .info-list{grid-template-columns:1fr;}
  .admin-wrap{flex-direction:column;}
  .admin-sidebar{width:100%;box-shadow:none;border-bottom:1px solid var(--line);}
}