/* 手机号国家区号选择组件 - 与右侧输入框同高对齐 */
.ma-mobile-wrap {
  display: flex !important;
  align-items: stretch !important;
  vertical-align: middle;
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.ma-mod-control > .ma-mobile-wrap,
.ma-mod-control .ma-mobile-wrap {
  width: 100%;
}
.ma-cc-selector {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  align-self: stretch;
}
.ma-cc-display {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
  padding: 10px 10px;
  background: #fafafa;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  border-style: solid;
  border-color: #e8e8e8;
  border-width: 1px 0 1px 1px;
  border-radius: 10px 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #1a1a1a;
}
.ma-cc-value {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}
.ma-cc-arrow {
  font-size: 10px;
  color: #999;
  margin-left: 4px;
  transition: transform 0.2s;
  line-height: 1;
}
.ma-cc-selector.open .ma-cc-arrow {
  transform: rotate(180deg);
}
.ma-cc-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 130px;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
}
.ma-cc-selector.open .ma-cc-dropdown {
  display: block;
}
.ma-cc-option {
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}
.ma-cc-option:hover {
  background: #f5f5f5;
}
.ma-cc-option.selected {
  background: #e6f4ff;
  color: #1890ff;
}
.ma-mobile-wrap > input[type="tel"],
.ma-mobile-wrap > input[type="text"] {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: none !important;
}
/* 登录/注册：行内无边框输入，区号仅文字样式 */
.ma-auth2__row .ma-mobile-wrap {
  flex: 1;
  min-width: 0;
}
.ma-auth2__row .ma-cc-display {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 8px 0 0;
  min-height: 0;
}
.ma-auth2__row .ma-mobile-wrap > input {
  border-radius: 0 !important;
  border: 0 !important;
}
