@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,900&display=swap');
*{
	box-sizing: border-box;
}
body{
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-size:16px;
	line-height:26px;
	color: #5c5c5c;
}
img{
	max-width: 100%;
}
h2{
	font-size: 28px;
	line-height: 38px;
    font-weight: 700;
}
main {
    max-width:850px;
    margin: auto;
}
section {
    padding: 50px 0;
}
.container {
    max-width: 1200px;
    padding: 0 70px;
}
.bg-primary{
    background-color: #510B01 !important;
}
.right-logo img {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
}
.left-logo img {
    width: 100px;
}
.banner-sec::after {
    position: absolute;
    top: 127px;
    right: 0;
    width: 73%;
    height: 223px;
    background: linear-gradient(180deg, #EE7E1B -16.87%, #BF2C29 72.5%);
    content: "";
    z-index: -1;
}
h1{
	font-weight: 900;
	font-size: 50px;
}
.name-logo {
    min-width: 160px;
    height: 170px;
    object-fit: contain;
}
.bg-orange {
    background-color: #E3520F;
    border-radius: 20px;
}
.rounded-10{
	border-radius: 10px;
}
/*chart*/
.charts-wrapper {
    display: flex;
    gap: 40px;
}
.chart-container {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.legend-item span {
    font-size: 9px;
    line-height: 9px;
}
.legend-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}
.legend-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.color-box {
    min-width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
}

/*==*/
.bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}
.bar-label {
    width: 180px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    text-align: left;
}
.bar {
    height: 40px;
    background: #d3d3d3;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    position: relative;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}
.bar-fill {
    height: 100%;
    background: linear-gradient(to right, #B6172D, #E3520F);
    text-align: right;
    padding-right: 10px;
    font-size: 14px;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 20px;
    transition: width 0.5s ease-in-out;
}
.icon-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: auto;
    background: #FBF0E9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box img {
    width: 70px;
}
.bg-light {
    background-color: #f5f6f6 !important;
}
.bg-light-orange {
    background-color: #FBF0E9;
}
.club-icon-box {
    min-width: 130px;
}
.club-box-content {
    border-radius: 0 0.5rem 0.5rem 0;
}
.f-26{
    font-size: 26px;
}
.text-danger{
    color:#B6172D !important;
}
.lh-140{
    line-height: 140%;
}
h3{
    font-size: 26px;
}
h5 {
    font-size: 16px;
}
h4{
    font-size: 20px;
}
.f-20{
    font-size: 20px;
}
.icon-conetent p {
    font-size: 12px;
    line-height: 18px;
}
.f-12{
    font-size: 14px;
}
.btn-danger{
    background: #B6172D !important;
}
/* == */
.stat-box {
    background: #3c0001b5;
    border: 4px solid #ccc;
    border-radius: 25px;
    padding: 20px 30px;
    color: #fff;    
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 36px;
    font-weight: bold;
    color: #f4a442;
    line-height: 120%;
    border-right: 1px solid #f4a442;
    width: 70%;
    padding-right: 40px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.stat-value {
    font-size: 60px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5),
                0 0 5px gold;
}

.stat-value span {
    font-size: 40px;
    margin-left: 3px;
}
.ribbon {
    display: inline-block;
    position: relative;
    padding: 22px 50px;
    background: #d84315;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-width: 240px;
}

/* Angled edges */
.ribbon::before,
.ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    width: 17px;
    height: 100%;
    background: inherit;
    transform: skewX(349deg);
}

.ribbon::before {
    left: -10px;
}

.ribbon::after {
    right: -10px;
}

/* Glow at the bottom */
.ribbon-glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 100px;
    height: 15px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.6), transparent);
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(4px);
}
.user-img{
    height: 400px;
    display: block;
    margin: auto;
    margin-top: -25px;
}
.bg-blue {
    background-color: #131643;
}
.box-after-before::before {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(../img/divider-shape.png);
    height: 10px;
    content: '';
    width: 60%;
    background-size: 100% 100%;
}
.box-after-before::after {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(360deg) scaleY(-1);
    background-image: url(
    ../img/divider-shape.png);
    height: 10px;
    content: '';
    width: 60%;
    background-size: 100% 100%;
}
.card {
    background: linear-gradient(355deg, #691c1a, #EE5728 60%);
    border-radius: 8px;
    padding: 25px 40px 25px;
    border: 1px solid #e5c5057a;
    box-shadow: 0 2px 2px #00000036;
}
.card .label {
    background: #4b1b1b;
    color: #fff;
    padding: 5px 20px 8px;
    border-radius: 0 0 25px 25px;
    font-size: 16px;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 100%;
    font-weight: bold;
    white-space: nowrap;
}
/* percent bubble */
.percent-box {
    display: block;
    background: #F4951D;
    color: #fff;
    padding: 12px 22px 8px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 28px;
    box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
    margin-bottom: 18px;
    user-select: none;
    width: 140px;
    text-align: center;
    margin: 7px auto 0;
    position: relative;
    line-height: 100%;
}
/* small pointer under bubble (pure CSS triangle) */
.percent-box::after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #F4951D;
    position: absolute;
    top: 100%;
    content: "";
    left: 50%;
    transform: translateX(-50%);
}

/* svg container */
.gauge{
    width:250px;
    height:160px;
    margin: 0 auto;
    position:relative;
}

svg { width:100%; height:100%; display:block; }

/* caption */
.caption{
    margin-top:12px;
    font-weight:800;
    font-size:20px;
}

/* nice transition for arc (stroke-dashoffset) */
#fgArc {
    transition: stroke-dashoffset 700ms cubic-bezier(.22,.9,.36,1);
    transform-origin: center;
}
.chart {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    position: relative;
}

/* Banner */
.banner-black {
    position: relative;
    background: #e22626;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 18px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: inline-block;
    margin-left: -15px;
}
.banner-black::after {
    content: "";
    position: absolute;
    right: -21px;
    top: 0px;
    border-top: 22px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 24px solid #e22626;
}
.bar-black {
    position: relative;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cylinder {
    position: relative;
    width: 100%;
    border-radius: 50px / 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.cylinder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    z-index: 2;
}

.cylinder span {
    position: relative;
    color: white;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
    z-index: 3;
}

/* Shadow plate */
.shadow {
    width: 140%;
    height: 70px;
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 71%) 60%, #ffffffad 40%);
    border-radius: 50%;
    margin-top: -53px;
}

/* Gradient cylinders */
.health { 
    height: 100%; 
    max-height: 300px;
    background: linear-gradient(to top, #f07d1a, #f7b93b); 
}
.sme { 
    height: 100%; 
    max-height: 300px;
    background: linear-gradient(to top, #d94425, #f2693d); 
}
.motor { 
    height: 100%; 
    max-height: 300px;
    background: linear-gradient(to top, #1f3d9e, #3e63d4); 
}

.label-black {
    margin-top: 12px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.box-line-bar {
    border-left: 5px solid #3f0f0fa1;
}
.box-line-bar::after {
    position: absolute;
    bottom: 50px;
    left: -55px;
    content: "";
    width: 124%;
    border: 3px solid #3f0f0fc7;
}
.bmix-container {
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, #7a1010, #5a0b0b);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
/* Top Ribbon */
.bmix-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #d42027;
    padding: 10px 40px;
    border-radius: 0 0 30px 30px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}
#bmix-chart {
    width: 300px !important;
    height: 300px !important;
}
.bmix-side-label {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}
.bmix-side-label img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 50%;
    padding: 15px;
    object-fit: contain;
}
.bmix-value {
    font-weight: bold;
    margin-left: 5px;
}