/* ==========================================================================
   YouTube Studio Interactive Guide - Screen Specific Styles (Add Manager)
   All outer guide frame, controls, layout, and sheet physics inherit directly
   from how-to-create-youtube-channel.css.
   ========================================================================== */

/* Light / Dark Mode Phone Screen Body & Status Bar Adapters */
#phone-screen.screen-light-bg {
  background-color: #FFFFFF !important;
}

#phone-screen-body.screen-light-bg {
  background-color: #FFFFFF !important;
}

#phone-status-bar.dark-content {
  color: #0F0F0F !important;
}

#phone-status-bar.dark-content svg {
  fill: #0F0F0F !important;
}

#phone-status-bar.dark-content .ios-battery-body {
  border-color: #0F0F0F !important;
}

#phone-status-bar.dark-content .ios-battery-level {
  background: #0F0F0F !important;
}

#phone-status-bar.dark-content .ios-battery-cap {
  background: #0F0F0F !important;
}

.phone-bottom-home-bar.dark-indicator {
  background: #0F0F0F !important;
}

/* ==========================================================================
   YouTube Studio Chrome (Header & Bottom Navigation)
   ========================================================================== */

.yt-studio-header {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0F0F0F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 30;
}

.yt-studio-logo-group {
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.yt-studio-play-icon {
  width: 24px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}

.yt-studio-logo-text {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  line-height: 1;
  display: inline-block;
  margin: 0;
  padding: 0;
  transform: translateY(-0.5px);
}

.yt-studio-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.yt-action-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.yt-bell-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  background: #FF0000;
  border-radius: 50%;
  border: 1.5px solid #0F0F0F;
}

.yt-channel-avatar-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #E65100;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* Studio Bottom Navigation */
.yt-studio-bottom-nav {
  height: 52px;
  padding: 0 4px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #0F0F0F;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 30;
}

.yt-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #AAAAAA;
  font-size: 10px;
  cursor: default;
  padding: 4px 6px;
  flex: 1;
}

.yt-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.yt-nav-item.active {
  color: #FFFFFF;
}

/* Shared Brand Avatars */
.studio-avatar-y-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E65100;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  font-weight: 700;
  font-size: 14px;
}

.studio-avatar-y-md {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E65100;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.studio-avatar-y-lg {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #E65100;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  font-weight: 700;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.35);
}

.studio-avatar-m-md {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #673AB7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.studio-avatar-vikky {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00695C;
}

.studio-avatar-vikky .studio-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.studio-avatar-fallback-v {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #00695C;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', -apple-system, sans-serif;
}

/* ==========================================================================
   Screen 1: Studio Dashboard - Generic Channel Card & Static Skeletons
   ========================================================================== */

.screen-dashboard-skeleton {
  padding: 14px 16px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 0;
}

.studio-avatar-large {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #E65100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.35);
}

.studio-channel-info {
  display: flex;
  flex-direction: column;
}

.studio-channel-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.studio-sub-count {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 1px 0 0 0;
  line-height: 1.1;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.studio-sub-label {
  font-size: 11px;
  color: #AAAAAA;
  margin-top: 2px;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.skeleton-box {
  background: #262626;
  border-radius: 8px;
}

/* Skeleton Analytics Section */
.skeleton-section-title {
  width: 120px;
  height: 11px;
  border-radius: 5px;
  margin-top: 2px;
  margin-bottom: 0;
}

.skeleton-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.skeleton-card {
  height: 48px;
  border-radius: 10px;
}

/* Skeleton Content Section */
.skeleton-content-title {
  width: 145px;
  height: 11px;
  border-radius: 5px;
  margin-top: 2px;
  margin-bottom: 0;
}

.skeleton-video-card {
  height: 100px;
  border-radius: 10px;
}

/* ==========================================================================
   Screen 2: Profile Sheet Menu (05.PNG)
   ========================================================================== */

.profile-top-bar {
  padding: 8px 16px 4px 16px;
  display: flex;
  align-items: center;
  background: #0F0F0F;
  flex-shrink: 0;
}

.profile-back-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: -6px;
  transition: background 0.15s ease;
}

.profile-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.profile-back-btn svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

.screen-profile-menu {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #0F0F0F;
  color: #FFFFFF;
}

.profile-header-area {
  padding: 4px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid #272727;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar-box {
  flex-shrink: 0;
}

.profile-meta {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.profile-handle {
  font-size: 13.5px;
  color: #AAAAAA;
  margin-top: 3px;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.profile-edit-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.profile-edit-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.profile-edit-btn svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
}

.profile-actions-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.profile-pill-btn {
  background: #272727;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Roboto', -apple-system, sans-serif;
  line-height: 1;
  transition: background 0.15s ease;
}

.profile-pill-btn:hover {
  background: #333333;
}

.profile-pill-btn svg {
  flex-shrink: 0;
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  padding: 2px 0 16px 0;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: 'Roboto', -apple-system, sans-serif;
  user-select: none;
}

.profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-menu-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
}

.profile-menu-item-left svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.profile-menu-item-left svg[fill="none"] {
  fill: none;
}

.profile-menu-item-text-only {
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
}

.profile-menu-label {
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
}

.profile-menu-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0.85;
}

.profile-menu-chevron svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

.profile-menu-divider {
  height: 1px;
  background: #272727;
  margin: 4px 0;
  width: 100%;
}

/* ==========================================================================
   Screen 3: Settings Screen (06.PNG)
   ========================================================================== */

.settings-header {
  padding: 8px 16px 4px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0F0F0F;
  flex-shrink: 0;
}

.settings-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

.screen-settings {
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  background: #0F0F0F;
  color: #FFFFFF;
  overflow-y: auto;
}

.settings-group {
  display: flex;
  flex-direction: column;
}

.settings-group-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 14px 16px 6px 16px;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}

.settings-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.settings-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.settings-row-left svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #FFFFFF;
}

.settings-row-left svg[fill="none"] {
  fill: none;
  stroke: #FFFFFF;
}

.settings-row-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-row-title {
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
  font-family: 'Roboto', -apple-system, sans-serif;
  line-height: 1.25;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  display: inline-block;
}

.settings-row-desc {
  font-size: 12.5px;
  color: #AAAAAA;
  font-family: 'Roboto', -apple-system, sans-serif;
  line-height: 1.25;
  margin-top: 1px;
}

.settings-toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #383838;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px 3px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.settings-toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #888888;
  transition: transform 0.2s ease, background 0.2s ease;
}

.settings-toggle-switch.on {
  background: #3EA6FF;
}

.settings-toggle-switch.on .settings-toggle-thumb {
  transform: translateX(20px);
  background: #FFFFFF;
}

.settings-footer-note {
  font-size: 12.5px;
  color: #888888;
  line-height: 1.45;
  padding: 10px 16px 8px 16px;
  font-family: 'Roboto', -apple-system, sans-serif;
}

/* ==========================================================================
   Screen 4: Permissions Screen Dark Mode (07.png)
   ========================================================================== */

.settings-header-dimmed {
  opacity: 0.35;
  pointer-events: none;
}

.screen-permissions-sheet.dark-mode {
  display: flex;
  flex-direction: column;
  background: #0F0F0F;
  flex: 1;
  box-sizing: border-box;
  color: #FFFFFF;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  height: 100%;
}

.sheet-drag-handle-pill {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: #484848;
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

.screen-permissions-sheet.dark-mode .sheet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 14px 16px;
}

.screen-permissions-sheet.dark-mode .sheet-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

.screen-permissions-sheet.dark-mode .sheet-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.screen-permissions-sheet.dark-mode .sheet-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.screen-permissions-sheet.dark-mode .permissions-users-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px;
}

.screen-permissions-sheet.dark-mode .permission-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 14px 0;
  border-bottom: 1px solid #272727;
}

.screen-permissions-sheet.dark-mode .permission-user-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.screen-permissions-sheet.dark-mode .permission-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.screen-permissions-sheet.dark-mode .permission-user-name {
  font-size: 15.5px;
  font-weight: 500;
  color: #FFFFFF;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.screen-permissions-sheet.dark-mode .permission-user-role-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-permissions-sheet.dark-mode .permission-user-role {
  font-size: 13px;
  color: #AAAAAA;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.screen-permissions-sheet.dark-mode .yt-pending-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px 7px;
  background: #272727;
  color: #CCCCCC;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  line-height: 1.3;
  letter-spacing: 0.1px;
  font-family: 'Roboto', -apple-system, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-permissions-sheet.dark-mode .permission-user-right {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.screen-permissions-sheet.dark-mode .permission-user-right svg {
  width: 19px;
  height: 19px;
}

.screen-permissions-sheet.dark-mode .permissions-sheet-bottom {
  border-top: 1px solid #272727;
  padding: 16px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  background: #0F0F0F;
}

.screen-permissions-sheet.dark-mode .permissions-invite-prompt {
  font-size: 13.5px;
  color: #AAAAAA;
  text-align: center;
  margin: 0 0 12px 0;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.screen-permissions-sheet.dark-mode .btn-studio-invite {
  width: 100%;
  height: 46px;
  background: #FFFFFF;
  color: #0F0F0F;
  border: none;
  border-radius: 23px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', -apple-system, sans-serif;
  transition: background 0.15s ease, transform 0.1s ease;
}

.screen-permissions-sheet.dark-mode .btn-studio-invite:hover {
  background: #E5E5E5;
}

/* ==========================================================================
   Screen 7: Permissions Screen Light Mode (Uploaded Image with Pending tag)
   ========================================================================== */

.screen-permissions-sheet.light-mode {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  flex: 1;
  padding: 16px 20px 24px 20px;
  box-sizing: border-box;
}

.screen-permissions-sheet.light-mode .sheet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 18px 0;
  margin-bottom: 0;
}

.screen-permissions-sheet.light-mode .sheet-title {
  font-size: 21px;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.3px;
}

.screen-permissions-sheet.light-mode .sheet-close-btn {
  background: transparent;
  border: none;
  color: #0F0F0F;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-permissions-sheet.light-mode .permissions-users-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.screen-permissions-sheet.light-mode .permission-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #F0F0F0;
}

.screen-permissions-sheet.light-mode .permission-user-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.screen-permissions-sheet.light-mode .permission-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.screen-permissions-sheet.light-mode .permission-user-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #0F0F0F;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.screen-permissions-sheet.light-mode .permission-user-role-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-permissions-sheet.light-mode .permission-user-role {
  font-size: 13px;
  color: #606060;
  font-family: 'Roboto', -apple-system, sans-serif;
}

/* Exact Subtle Gray "Pending" Badge from Screenshot */
.screen-permissions-sheet.light-mode .yt-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: #EAEAEA;
  color: #606060;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: 0.1px;
  border: none;
}

.screen-permissions-sheet.light-mode .permission-user-right {
  display: flex;
  align-items: center;
  color: #606060;
}

.screen-permissions-sheet.light-mode .permissions-sheet-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}

.screen-permissions-sheet.light-mode .permissions-invite-prompt {
  font-size: 13px;
  color: #606060;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  text-align: center;
}

/* Black Pill Invite Button from Screenshot */
.screen-permissions-sheet.light-mode .btn-studio-invite {
  width: 100%;
  height: 46px;
  border-radius: 23px;
  background: #0F0F0F;
  color: #FFFFFF;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Roboto', -apple-system, sans-serif;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.screen-permissions-sheet.light-mode .btn-studio-invite:hover {
  opacity: 0.88;
}

/* ==========================================================================
   Screen 5: Invite Form (08.PNG, 09.PNG)
   ========================================================================== */

.screen-invite-sheet {
  display: flex;
  flex-direction: column;
  background: #0F0F0F;
  flex: 1;
  color: #FFFFFF;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}

.screen-invite-sheet .sheet-drag-handle-pill {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: #484848;
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

.screen-invite-sheet .sheet-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px 16px;
  flex-shrink: 0;
}

.screen-invite-sheet .sheet-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.screen-invite-sheet .sheet-back-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-invite-sheet .sheet-back-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.screen-invite-sheet .sheet-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

.screen-invite-sheet .sheet-close-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.screen-invite-sheet .sheet-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.screen-invite-sheet .sheet-close-btn svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
}

.screen-invite-sheet .invite-email-box {
  padding: 0 16px;
  margin-bottom: 12px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.screen-invite-sheet .invite-input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background: #121212;
  border: 1px solid #383838;
  border-radius: 8px;
  padding: 6px 12px 6px 14px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.screen-invite-sheet .invite-input-container.is-focused {
  border-color: #FFFFFF;
}

.screen-invite-sheet .invite-input-label {
  font-size: 11px;
  color: #8E8E8E;
  font-family: 'Roboto', -apple-system, sans-serif;
  line-height: 14px;
  height: 14px;
  display: block;
  margin: 0;
}

.screen-invite-sheet .invite-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  box-sizing: border-box;
}

.tap-target-pulsar {
  transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.touch-tap-ripple {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(0.2);
  animation: touchRippleAnim 0.45s ease-out forwards;
  pointer-events: none;
  z-index: 999;
}

@keyframes touchRippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.screen-invite-sheet .invite-input-val-wrap {
  display: inline-flex;
  align-items: center;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.screen-invite-sheet .invite-input-val {
  font-size: 13.5px;
  color: #FFFFFF;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.15px;
  white-space: nowrap;
  line-height: 22px;
  display: inline-block;
}

.screen-invite-sheet .invite-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background-color: #3EA6FF;
  margin-left: 2px;
  flex-shrink: 0;
  vertical-align: middle;
  animation: inviteCursorBlink 0.75s infinite;
}

@keyframes inviteCursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.screen-invite-sheet .invite-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screen-invite-sheet .invite-check-icon.visible {
  opacity: 1;
  transform: scale(1);
}

.screen-invite-sheet .invite-check-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.screen-invite-sheet .invite-roles-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px;
  overflow-y: auto;
  margin-bottom: 0;
}

.screen-invite-sheet .invite-role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #242424;
  cursor: default;
  background: transparent;
  user-select: none;
  pointer-events: none;
  /* User is restricted from selecting other role options */
}

.screen-invite-sheet .invite-role-item:hover {
  background: transparent;
}

.screen-invite-sheet .invite-role-item.selected {
  background: transparent;
}

.screen-invite-sheet .invite-role-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 14px;
}

.screen-invite-sheet .invite-role-name {
  font-size: 15.5px;
  font-weight: 500;
  color: #FFFFFF;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.screen-invite-sheet .invite-role-desc {
  font-size: 12.5px;
  color: #AAAAAA;
  line-height: 1.35;
  font-family: 'Roboto', -apple-system, sans-serif;
  max-width: 260px;
}

.screen-invite-sheet .invite-role-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.screen-invite-sheet .invite-role-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: scale(0);
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screen-invite-sheet .invite-role-item.selected .invite-role-radio::after {
  transform: scale(1);
}

.screen-invite-sheet .invite-sheet-bottom {
  border-top: 1px solid #242424;
  padding: 12px 16px 16px 16px;
  background: #0F0F0F;
  margin-top: auto;
  flex-shrink: 0;
}

.screen-invite-sheet .btn-send-invitation {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  background: #272727;
  color: #717171;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Roboto', -apple-system, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.15s ease;
}

.screen-invite-sheet .btn-send-invitation.active {
  background: #FFFFFF;
  color: #0F0F0F;
}

.screen-invite-sheet .btn-send-invitation.active:hover {
  background: #E5E5E5;
}

.screen-invite-sheet .btn-send-invitation.is-pressed {
  transform: scale(0.96);
  background: #E0E0E0;
}

/* ==========================================================================
   Screen 6: Confirmation Dialog (10.PNG)
   ========================================================================== */

.dialog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  z-index: 50;
  box-sizing: border-box;
}

.dialog-modal-card {
  background: #242424;
  border-radius: 24px;
  padding: 24px 22px 20px 22px;
  width: 100%;
  max-width: 310px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75);
}

.dialog-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  font-family: 'Roboto', -apple-system, sans-serif;
  letter-spacing: -0.2px;
}

.dialog-body-text {
  font-size: 13.5px;
  color: #CCCCCC;
  line-height: 1.45;
  margin: 0 0 14px 0;
  font-family: 'Roboto', -apple-system, sans-serif;
}

.dialog-body-text:last-of-type {
  margin-bottom: 22px;
}

.dialog-learn-more {
  color: #3EA6FF;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.dialog-learn-more:hover {
  text-decoration: underline;
}

.dialog-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.dialog-btn-cancel {
  flex: 1;
  height: 40px;
  background: #383838;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Roboto', -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.dialog-btn-cancel:hover {
  background: #484848;
}

.dialog-btn-cancel.verify-cancel {
  color: #3EA6FF;
}

.dialog-btn-confirm {
  flex: 1;
  height: 40px;
  background: #FFFFFF;
  color: #0F0F0F;
  border: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Roboto', -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease;
}

.dialog-actions-row.verify-actions {
  justify-content: flex-end;
  gap: 10px;
}

.dialog-actions-row.verify-actions .dialog-btn-cancel {
  flex: 0 0 auto;
  min-width: 82px;
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
}

.dialog-actions-row.verify-actions .dialog-btn-confirm {
  flex: 0 0 auto;
  min-width: 86px;
  height: 38px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
}

.dialog-btn-confirm.verify-btn {
  color: #065FD4;
}

.dialog-btn-confirm:hover {
  background: #E5E5E5;
}

/* ================= Step 1 Studio App Download Links ================= */
.studio-app-links {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-app-links-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary, #54595F);
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-app-links-label svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
}

.studio-app-links-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--color-dark, #011627);
  color: #FFFFFF !important;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-primary, 'Fredoka', sans-serif);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(1, 22, 39, 0.15);
}

.studio-app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 22, 39, 0.25);
  background: #0d2840;
}

.studio-app-badge:active {
  transform: translateY(0);
}

.studio-app-badge i {
  font-size: 1rem;
}

.studio-app-badge .fa-google-play {
  color: #4ECDC4;
}

.studio-app-badge .fa-apple {
  color: #FFFFFF;
}

.step-instruction-text {
  margin: 0;
  line-height: 1.5;
}