/* DDSBridge Console — Minimal Rebrand */

/* Hide RustDesk logos */
.ant-pro-form-login-logo img,
.ant-pro-form-login-logo svg,
.ant-pro-global-header-logo img,
.ant-pro-global-header-logo svg,
img[src*="rustdesk"],
img[src*="RustDesk"],
img[alt*="rustdesk"],
img[alt*="RustDesk"] {
  display: none !important;
}

/* DDSBridge logo via pseudo-element */
.ant-pro-form-login-logo::before,
.ant-pro-global-header-logo::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'%3E%3Crect x='1' y='1' width='38' height='38' rx='8' fill='%23fff' stroke='%231677ff' stroke-width='1.5'/%3E%3Cpath d='M20 8L10 13V19C10 25.63 14.27 31.79 20 33C25.73 31.79 30 25.63 30 19V13L20 8Z' fill='%231677ff' fill-opacity='0.1' stroke='%231677ff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M14 23C14 23 16.5 19 20 19C23.5 19 26 23 26 23' stroke='%231677ff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='16.5' y1='19.8' x2='16.5' y2='23' stroke='%231677ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='20' y1='19' x2='20' y2='23' stroke='%231677ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='23.5' y1='19.8' x2='23.5' y2='23' stroke='%231677ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='14.5' r='2' stroke='%231677ff' stroke-width='1.5' fill='none'/%3E%3Crect x='19.25' y='15.5' width='1.5' height='2' rx='0.5' fill='%231677ff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  vertical-align: middle;
}

/* Hide RustDesk title text, replace with DDSBridge */
.ant-pro-form-login-title {
  font-size: 0 !important;
}

.ant-pro-form-login-title::after {
  content: "DDSBridge Console";
  font-size: 24px;
  font-weight: 600;
  display: block;
}

/* Sidebar/header title */
.ant-pro-global-header-logo h1,
.ant-layout-sider-children .ant-pro-sider-menu-logo h1 {
  font-size: 0 !important;
}

.ant-pro-global-header-logo h1::after,
.ant-layout-sider-children .ant-pro-sider-menu-logo h1::after {
  content: "DDSBridge";
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

/* Hide RustDesk links */
a[href*="github.com/rustdesk"],
a[href*="rustdesk.com"] {
  display: none !important;
}
