@import "../../style/index.less";

.user {
  width: 100%;
  overflow: hidden;
  background-color: @user-background-color;
  &-info {
  	display: flex;
  	justify-content: space-between;
	margin: 31px 26px 28px 28px;
	height: 60px;
	&-account {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  span:nth-child(1) {
		height: 40px;
		line-height: 40px;
		font-size: 28px;
		font-weight: 600;
		color: @black;
	  }
	  span:nth-child(2) {
	  	width: 89px;
		padding-top: 1px;
		height: 20px;
		line-height: normal;
		text-align: center;
		background: #000000;
		border-radius: 8px;
		opacity: 0.2;
		font-size: @font-size-12;
		font-weight: 400;
		color: @user-module-background-color;
	  }
	}
	&-image {
	  position: relative;
	  width: 60px;
	  height: 60px;
	  &-avatar {
	  	width: 60px;
	  	height: 60px;
	  }
	  &-certification {
	  	position: absolute;
	    right: 0;
	    bottom: 0;
		width: 20px;
	  	height: 20px;
	  }
	}
  }
  &-insurance {
  	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	margin: 0 16px 10px;
  	padding: 0 32px;
  	height: 69px;
  	line-height: 69px;
	background: @orange-light;
	border-radius: @border-radius-md;
  	&-list {
  	  display: flex;
  	  height: 27px;
	  line-height: 27px;
  	  &-icon {
		position: relative;
		margin-right: 8px;
		height: 27px;
	    line-height: 27px;
		width: 27px;
		font-size: 0;
		&-svg {
		  width: 27px;
		  height: 27px;
		}
		&-dot {
		  position: absolute;
		  top: 0;
		  right: 0;
		  width: 6px;
		  height: 6px;
		  border-radius: 100%;
		  background-color: @red;
		}
  	  }
  	  &-title {
  	  	padding-top: 1px;
  	  	font-size: 16px;
		font-weight: 600;
		color: #000000;
  	  }
	}
  	&-divider {
	  height: 19px;
  	  border-left: solid 1px #010101;
  	}
  }
  &-family {
  	margin: 0 16px 10px;
  	padding: 20px 20px 0 20px;
  	border-radius: @border-radius-md;
  	background: @user-module-background-color;
  	&-title {
  	  margin: 0;
	  font-weight:600;
  	  font-size: 19px;
	  color: #242629;
  	  text-align: left;
  	}
  	&-info {
  	  overflow-x: auto;
  	  display: flex;
  	  margin: 20px 0 24px;
  	  &-item {
  	  	font-size: 0; // 去掉默认间距
  	  	width: 40px;
  	  	&:not(:first-child) {
  	  	  margin-left: 25px;
  	  	}
  	  	&_placeholder {
		  margin-right: 65px;
		}
  	  	&-svg {
  	  	  width: 40px;
  	  	  height: 40px;
  	  	}
  	  	&-name {
  	  	  display: inline-block;
  	  	  margin: 8px 0 6px;
  	  	  width: 40px;
  	  	  text-align: center;
		  font-size: @font-size-12;
		  font-weight: 600;
		  color: @black;
  	  	}
  	  	&-divider {
  	  	  width: 40px;
		  height: 4px;
		  background: @orange-light;
		  border-radius: 3px;
  	  	}
  	  	&_fixed {
  	      position: absolute;
  	      right: 36px;
          height: 71px;
  	      background: #fff;
  	    }
  	  }
  	  &::-webkit-scrollbar {
		display: none;
	  }
  	}
  	&-insurance {
  	  &-item {
  	  	display: flex;
  	  	align-items: center;
  	  	height: 76px;
  	  	&-left {
  	  	  width: 44px;
  	  	  height: 44px;
  	  	}
		&-middle {
		  display: flex;
	      flex-direction: column;
	      box-sizing: border-box;
		  margin: 0 0 0 8px;
		  padding: 3px 0 0px 0;
		  width: 179px;
		  .Ufii-middle-main {
		  	margin-bottom: 6px;
		    font-size: 0;
		  	text-align: left;
		  	&-title {
		  	  margin-right: 8px;
			  font-size: @font-size-16;
			  font-weight: 600;
		      color: #242629;
		  	}
		  	&-status {
		  	  display: inline-block;
			  width: 44px;
			  height: 16px;
			  line-height: 16px;
			  text-align: center;
			  background: @tag-warning-light-background-color;
			  border-radius: 8px 2px 8px 2px;
			  font-size: 11px;
              font-weight: 400;
              color: @tag-warning-light-color;
              &_illness {
	          background: #FFD8BF;
	          color: #FF6702;
	        }
	        &_life {
	          background: #F3F2F1;
	          color: #DDB984;
	        }
	        &_casualty {
	          background: #F6E8FF;
	          color: #858AFF;
	        }
	        &_medical {
	          background: #FFEAB7;
	          color: #EAAD1A;
	        }
		  	}
		  }
		  .Ufii-middle-footer {
		  	text-align: left;
		  	font-size: @font-size-12;
			font-weight: 400;
			color: @gray-4;
			line-height: 16px;
		  }
		  &_enable {
		  	width: auto;
		  }
		}
		&-right {
  	      width: 72px;
  	      height: 24px;
		  padding: 0 !important;
		  border: 0 !important;
		  background: @orange-light !important;
		  border-radius: @border-radius-sm !important;
		  font-size: @font-size-12;
		  font-weight: 600;
		  line-height: 24px;
		  color: @black !important;
  	    }
  	    &:not(:last-child) {
  	      border-bottom: 1px solid #EBEBEB;
  	    }
  	  }
  	}
  }
  &-service {
  	margin: 0 16px 14px;
  	padding: 20px 20px 0 20px;
  	background-color: @user-module-background-color;
  	border-radius: @border-radius-md;
  	&-title {
  	  margin-bottom: 3px;
      text-align: left;
  	  font-size: 18px;
	  font-weight: 600;
	  color: #242629;
  	}
  	&-main {
  	  &-item {
  	  	display: flex;
  	  	align-items: center;
  	  	padding: 0;
		height: 61px;
		font-size: 0;
	  	@{deep} .cr-cell__left-icon {
	  		margin-right: 12px;
	  		height: 20px;
	  		.cr-icon__image {
		  	  width: 20px;
		  	  height: 20px;
		  	}
	  	}
	  	@{deep} .cr-cell__title {
	  	  padding-top: 1px;
	  	  flex: 0 1 auto;
	  	  font-size: @font-size-16;
		  font-weight: 400;
		  color: @black;
		  line-height: 16px;
		  .cr-cell__label {
		  	display: none;
		  }
	  	}
	  	@{deep} .cr-cell__value {
	  		padding-top: 2px;
	  		font-size: 13px;
	  		line-height: 16px;
	  	}
	  	&-svg {
	  	  width: 16px;
	  	  height: 16px;
	  	}
	  	&:not(:last-child):after {
	  	  left: 0;
		  border-bottom: 1px solid #EBEBEB;
		  transform: scaleY(1);
	  	}
  	  }
  	}
  }
  &-logo {
  	display: flex;
    flex-direction: column;
    align-items: center;
  	padding: 0 130px 82.92px;
  	font-size: 0;
  	&-svg {
  	  margin-bottom: 8px;
	  width: 113px;
  	}
  	&-desc {
  	  margin: 0;
      width: 100px;
      padding: 1px 0;
      line-height: normal;
	  text-align: center;
	  background: @orange-light;
      border-radius: @border-radius-md;
	  font-size: @font-size-11;
	  font-weight: 400;
	  color: @black;
  	}
  }
}
