@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #000000;
    --sidebar-bg: #0a0a0a;
    --card-bg: #111111;
    --card-hover: #1a1a1a;
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent: #ff2d55;
    --accent-hover: #ff1341;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.4);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.015em;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.d-none { display: none !important; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sidebar */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    padding: 0 8px;
    color: var(--text-main);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff5e3a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.3);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
}

.nav-link.active {
    background: rgba(255,255,255,0.12);
    color: var(--text-main);
}

.nav-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.main-wrapper {
    flex: 1;
    margin-left: 260px;
    padding: 48px 64px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn:active:not(:disabled) {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    box-shadow: none;
}
.btn-secondary:hover:not(:disabled) {
    background: rgba(255,255,255,0.15);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Grid & Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, background 0.2s;
}

.stat-card:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
}

.stat-title {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-trend {
    font-size: 13px;
    color: #32d74b;
    font-weight: 500;
}

/* Releases */
.section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.release-card {
    cursor: pointer;
}

.artwork-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.release-card:hover .artwork {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.release-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.05);
}

.release-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-artist {
    font-size: 14px;
    color: var(--text-muted);
}

/* Forms & Inputs */
.upload-container, .form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    max-width: 860px;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
}

.form-control, select.form-control {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

select.form-control option {
    background: var(--card-bg);
    color: var(--text-main);
}

.dropzone {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: var(--border-radius-md);
    padding: 60px 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    transition: all 0.2s;
    cursor: pointer;
}

.dropzone:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

.dropzone-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.dropzone-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.dropzone-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 24px;
}
.form-row > * {
    flex: 1;
}

/* Checkbox and Switches */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Tables */
.table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

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

th, td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    font-size: 14px;
}

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

tr:hover td {
    background: rgba(255,255,255,0.02);
}

.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.badge-success {
    background: rgba(50, 215, 75, 0.15);
    color: #32d74b;
}
.badge-pending {
    background: rgba(255, 159, 10, 0.15);
    color: #ff9f0a;
}
.badge-info {
    background: rgba(10, 132, 255, 0.15);
    color: #0a84ff;
}

/* Auth / Login specific styles */
.auth-wrapper {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    padding: 24px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    color: var(--text-main);
    text-decoration: none;
}

.auth-logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
    margin-bottom: 32px;
}

.auth-links {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.auth-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--accent-hover);
}

/* Icons */
svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper .form-control {
    padding-right: 48px;
}

.eye-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.eye-btn:hover {
    color: var(--text-main);
}

.eye-btn:focus-visible {
    outline: none;
    color: var(--accent);
}

/* User Profile Menu */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-main);
}

.profile-btn:hover, .profile-btn.active {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.2);
}

.profile-btn-avatar {
    width: 36px;
    height: 36px;
    background: #FF2A5F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.profile-btn-name {
    font-size: 14px;
    font-weight: 600;
}

.profile-chevron {
    color: var(--text-muted);
    transition: transform 0.2s;
}

.profile-btn.active .profile-chevron {
    transform: rotate(180deg);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 260px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
    z-index: 200;
    overflow: hidden;
}

.profile-dropdown.show {
    display: flex;
    animation: dropIn 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.dropdown-email {
    font-size: 13px;
    color: var(--text-muted);
}

.dropdown-menu {
    padding: 8px 0;
    list-style: none;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-item svg {
    color: var(--text-muted);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.06);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Catalog Filters (YouTube Style Chips) */
.status-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.status-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.status-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #191919;
    border: none;
    color: #f1f1f1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.status-filter-btn:hover {
    background: #252525;
}

.status-filter-btn.active {
    background: #f5f5f5;
    color: #000;
}

.status-filter-btn svg {
    stroke: currentColor;
    fill: none;
}

.status-filter-btn .count {
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #999;
}

.status-filter-btn.active .count {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
}

/* Upload Red Button */
.btn-red {
    background: #FF2A5F;
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-red:hover {
    background: #e01f4f;
    color: #fff;
}

/* Catalog Card Layout */
.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    min-height: 240px;
}

.catalog-card-artwork {
    width: 240px;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(135deg, #2a2a35 0%, #111116 100%);
}

.catalog-card-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.catalog-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.catalog-artist {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.catalog-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.catalog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.catalog-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.info-block {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: 8px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.platform-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex: 1;
}

.platform-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
}

.tracklist-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 60, 100, 0.05);
    border: 1px solid rgba(255, 60, 100, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tracklist-toggle:hover {
    background: rgba(255, 60, 100, 0.1);
}

.tracklist-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tracklist Content */
.tracklist-content {
    margin-top: 24px;
    margin-left: -260px;
    margin-right: -20px;
    width: calc(100% + 280px);
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0 36px;
    display: none;
}

.tracklist-content.open {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.tracklist-table th {
    text-align: left;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tracklist-table td {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255,255,255,0.02);
    vertical-align: middle;
}

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

.track-title {
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.track-isrc {
    font-size: 12px;
    color: var(--text-muted);
}

.service-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.s-icon:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.s-icon.circle {
    border-radius: 50%;
}

/* Glassmorphism Select & DatePicker */
.flatpickr-calendar {
    background: rgba(30, 30, 30, 0.65) !important;
    backdrop-filter: saturate(200%) blur(40px) !important;
    -webkit-backdrop-filter: saturate(200%) blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255,255,255,0.2) !important;
    border-radius: 14px !important;
    color: #fff !important;
}
.flatpickr-calendar .flatpickr-day {
    color: #fff !important;
}
.flatpickr-calendar .flatpickr-day:hover, .flatpickr-calendar .flatpickr-day:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.15) !important;
}
.flatpickr-calendar .flatpickr-day.selected {
    background: #FF2A5F !important;
    border-color: #FF2A5F !important;
    color: #fff !important;
}
.flatpickr-calendar .flatpickr-month,
.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-weekday {
    color: #fff !important;
    fill: #fff !important;
}
.flatpickr-calendar .flatpickr-prev-month svg,
.flatpickr-calendar .flatpickr-next-month svg {
    fill: #fff !important;
}
.flatpickr-calendar .flatpickr-time {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.flatpickr-calendar .numInput, .flatpickr-calendar .flatpickr-am-pm {
    color: #fff !important;
}

/* Custom Glass Select */
.glass-select-wrapper {
    position: relative;
    width: 100%;
}
.glass-select-wrapper .geist-input {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.glass-select-wrapper .geist-input::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: translateY(-2px) rotate(45deg);
}
.glass-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: saturate(200%) blur(40px);
    -webkit-backdrop-filter: saturate(200%) blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255,255,255,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.glass-select-wrapper.open .glass-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.glass-option {
    padding: 12px 16px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}
.glass-option:hover {
    background: rgba(255, 255, 255, 0.15);
}
.glass-option.selected {
    background: rgba(255, 255, 255, 0.1);
    color: #FF2A5F;
    font-weight: 500;
}

/* SortableJS Ghost Item */
.sortable-ghost {
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Vercel Modal Design */
.vercel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.vercel-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.vercel-modal {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.vercel-modal-overlay.show .vercel-modal {
    transform: scale(1);
}
.vercel-modal-header {
    padding: 24px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.vercel-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff2d55;
}
.vercel-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}
.vercel-modal-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.vercel-modal-close {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.vercel-modal-close:hover {
    background: #222;
    color: #fff;
}
.vercel-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}
/* hide scrollbar for clean look */
.vercel-modal-body::-webkit-scrollbar {
    width: 6px;
}
.vercel-modal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 6px;
}
.vercel-dropzone {
    border: 1px dashed #444;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    background: #111;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 24px;
}
.vercel-dropzone:hover {
    border-color: #ff2d55;
    background: #151515;
}
.vercel-dropzone-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.vercel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.vercel-form-group {
    display: flex;
    flex-direction: column;
}
.vercel-label {
    font-size: 13px;
    font-weight: 600;
    color: #dedede;
    margin-bottom: 8px;
}
.vercel-input, .vercel-select {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 0 16px;
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
    width: 100%;
}
.vercel-input:focus, .vercel-select:focus {
    outline: none;
    border-color: #555;
    background: #111;
}
.vercel-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}
.vercel-contributors {
    margin-bottom: 24px;
}
.vercel-contributor-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}
.vercel-icon-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.vercel-icon-btn:hover {
    background: #222;
    color: #fff;
}
.vercel-btn-ghost {
    background: transparent;
    border: 1px dashed #333;
    color: #aaa;
    height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.vercel-btn-ghost:hover {
    color: #fff;
    border-color: #555;
    background: #111;
}
.vercel-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f0f0f;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.vercel-auto-save {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 12px;
}
.vercel-btn {
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border: none;
}
.vercel-btn-secondary {
    background: #111;
    color: #fff;
    border: 1px solid #333;
}
.vercel-btn-secondary:hover {
    background: #222;
}
.vercel-btn-primary {
    background: linear-gradient(135deg, #ff9a9e, #a1c4fd);
    color: #000;
}
.vercel-btn-primary:hover {
    opacity: 0.9;
}


/* Vercel Modal & Form Styles */
.vercel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.vercel-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.vercel-modal {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vercel-modal-overlay.show .vercel-modal {
    transform: scale(1);
}

.vercel-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.vercel-modal-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vercel-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.vercel-modal-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.vercel-modal-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.vercel-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.vercel-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: 70vh;
}

.vercel-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Vercel Forms */
.geist-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-bottom: 8px;
}
.geist-label .req {
    color: #f87171;
}

.geist-input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    padding: 0 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.geist-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
}
.geist-input:focus {
    outline: none;
    border-color: #fff;
}
.geist-input::placeholder {
    color: #666;
}

input[type="date"].geist-input {
    min-height: 40px;
}
input[type="date"].geist-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.55;
    cursor: pointer;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}


/* Vercel Buttons */
.vercel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}
.vercel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.vercel-btn-primary {
    background: #ffffff;
    color: #000000;
}
.vercel-btn-primary:hover:not(:disabled) {
    background: #e0e0e0;
}

.vercel-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}
.vercel-btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
