:root
{
	--comman-radious :3px;
	--comman-padding: 25px 40px;
}	

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Rubik', sans-serif;
}
.main{
	min-height: 100vh;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #dbdbe6;
}
.main-card
{
    position:relative;
	width: 35%;
    height: auto;
    max-width: 800px;
	border-radius: 20px;
	background-color: #f6f6fb;
	/*padding: 50px;*/
}
.card-top
{
	display: flex;
	min-height: 100px;
	justify-content: space-between;
	flex-direction: column;
	padding: var(--comman-padding);
}
.card-bottom
{
	min-height:320px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	padding: var(--comman-padding);
	border-radius: 0 0 20px 20px;
}
.card-top h3,p
{
 padding-top: 15px;
}
.card-top h3
{
 font-size:1.3rem;
}
.card-top p{
	font-size:0.7rem;
}
.drop-down
{
	margin-top:15px;
	width:100%;
	padding: 16px;
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: var(--comman-radious);
}
.drop-down .option
{
	font-size: 0.8rem;
}

.card-bottom h3,.sign-as,h4,input,.btn-grp
{
 margin-top: 15px;
}
.card-bottom h3
{
	font-size: 0.9rem;
}
.card-bottom h4
{
	font-size: 0.7rem;
}
.sign-as
{
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.social
{
	/*width:33%;*/
	display: flex;
	justify-content: space-around;
    flex-grow: 1;
	align-items: center;
	border: 1px solid #eee;
	background-color: #fff;
	padding: 10px 15px;
	border-radius: var(--comman-radious);
	width:auto;
    min-width:104px;
    max-width:150px;
	cursor: pointer;
	transition: 0.3s;

}
.social:hover
{
	transform: scale(1.1);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
.social .logo img
{
 width: 20px;
 height: 20px;
 object-fit: cover;
}
.social span{
	font-size: 0.7rem;
	padding-left: 5px;
}
.card-top input
{
	padding: 16px 0;
	border-radius: var(--comman-radious);
	border: none;
	border: 1px solid #DEDEE6;
	text-indent: 13px;
	font-size: 0.75rem;
}
.card-top .btn-grp
{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.card-top .btn-grp button{
	width: 100%;
	padding:17px 20px;
	cursor: pointer;
	font-size: 0.7rem;
	border-radius: var(--comman-radious);
	transition: 0.5s;
}
.card-top .btn-grp button:nth-child(1):hover
{
	border: 1px solid #aaa;
}
.card-top .btn-grp button:nth-child(2):hover
{
	transform: scale(1.1);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.card-top .btn-grp button:nth-child(1)
{
	background-color: transparent;
	border: none;
}
.card-top .btn-grp button:nth-child(2)
{
	background-color: #12143B;
	border: none;
	color: #fff;
}

.card-bottom .result-container button
{
    width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
    padding:17px 20px;
	cursor: pointer;
	font-size: 0.7rem;
	border-radius: var(--comman-radious);
	transition: 0.5s;
	background-color: #12143B;
	border: none;
	color: #fff;
}

.card-bottom .result-container select
{
    padding: 16px 0;
	border-radius: var(--comman-radious);
	border: none;
    width: 100%;
	border: 1px solid #DEDEE6;
	text-indent: 13px;
	font-size: 0.75rem;
}


.company-logo {
  position: absolute;
  top: 20px; /* Jarak dari atas */
  right: 20px; /* Jarak dari kanan */
  width: 70px; /* Sesuaikan ukuran logo */
}

.company-logo img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 360px) { /* Untuk hape kecil */
  .main-card {
    width: 95%; /* Hampir full screen */
    height:auto;
  }
    
    .social {
     width: 100%;
     max-width:none;
  }
}

@media screen and (max-width: 480px) { /* Untuk smartphone */
  .main-card {
    width: 90%; /* Hampir memenuhi layar */
    height:auto;
  }
    
    .social {
     width: 100%;
     max-width:none;
  }
}

@media screen and (max-width: 768px) { /* Untuk tablet */
  .main-card {
    width: 85%; /* Lebih besar dibandingkan desktop */
    height:auto;
  }

    .social {
     width: 100%;
     max-width:none;
  }
}

@media screen and (max-width: 1024px) { /* Untuk tablet */
  .main-card {
    width: 80%; /* Lebih besar dibandingkan desktop */
    height:auto;
  }

    .social {
     width: 100%;
     max-width:none;
  }
}

.gauge text {
    font-size: 18px;
    font-family: Arial, sans-serif;
}
    
.tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 140px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#chart {
    display: flex;
    justify-content: center; /* Pusatkan horizontal */
}

#result {
    font-weight: normal !important;  /* Pastikan teks tidak bold */
    font-size: 11px;  /* Sesuaikan ukuran font */
    font-family: Arial, sans-serif;  /* (Opsional) Tentukan jenis font */
}

.dot-container {
    text-align: center;
    margin-top: 20px;
}

/* Dot individual */
.dot {
    display: inline-block;
    cursor: pointer;
    font-size: 24px;
    margin: 0 5px;
    color: #ccc;
    transition: color 0.3s;
}

.dot:hover, 
.dot.active-dot {
    color: #333;
}

.price-detail {
  font-size: 11px;
  margin-top: 1px;
}

.original-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 8px;
}

.discount-percent {
  color: #d00;
  font-weight: bold;
}

.card-bottom .card-add .btn-grp
{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.card-bottom .card-add .btn-grp button{
	width: 100%;
	padding:17px 20px;
	cursor: pointer;
	font-size: 0.7rem;
	border-radius: var(--comman-radious);
	transition: 0.5s;
}
.card-bottom .card-add .btn-grp button:nth-child(1):hover
{
	border: 1px solid #aaa;
}
.card-bottom .card-add .btn-grp button:nth-child(2):hover
{
	transform: scale(1.1);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.card-bottom .card-add .btn-grp button:nth-child(1)
{
	background-color: #12143B;
	border: none;
    color: #fff;
}
.card-bottom .card-add .btn-grp button:nth-child(2)
{
	background-color: transparent;
	border: none;
	color: #000;
}
