.pbc-calculator-container, .pbc-results-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background: #f1f1f1;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
border: #ff642d 3px solid;
}
.pbc-form-group {
margin-bottom: 20px;
}
.pbc-select2 {
width: 100% !important;
}
.pbc-submit-button, .pbc-button {
background: #ff642d;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
text-decoration: none;
display: inline-block;
}
.pbc-submit-button:hover, .pbc-button:hover {
background: #45a049;
}
.pbc-result-good {
color: #4CAF50;
padding: 15px;
background: #e8f5e9;
border-radius: 4px;
margin-bottom: 20px;
}
.pbc-result-warning {
color: #ff9800;
padding: 15px;
background: #fff3e0;
border-radius: 4px;
margin-bottom: 20px;
}
.pbc-gauge-container {
max-width: 300px;
margin: 0 auto;
text-align: center;
}
.pbc-gauge {
width: 100%;
height: 0;
padding-bottom: 50%;
position: relative;
border-top-left-radius: 100% 200%;
border-top-right-radius: 100% 200%;
overflow: hidden;
background: #f5f5f5;
}
.pbc-gauge::before {
content: '';
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to right, #4CAF50, #FFC107, #F44336);
transform-origin: center top;
transform: rotate(0.5turn);
clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.pbc-gauge::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 200%;
border-radius: 50%;
background: #fff;
transform: scale(0.8);
}
.pbc-gauge span {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
font-size: 24px;
font-weight: bold;
z-index: 1;
text-align: center;
}
@media (max-width: 600px) {
.pbc-calculator-container, .pbc-results-container {
padding: 15px;
}
.pbc-gauge-container {
max-width: 200px;
}
} #pbc-progress-container {
background: #f8faf8;
border: 1px solid #e0e7e0;
border-radius: 8px;
padding: 15px;
margin-top: 20px;
}
.pbc-progress-header {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
font-size: 14px;
}
#pbc-progress-message {
color: #2a4b2d;
font-weight: 500;
}
#pbc-progress-percent {
color: #1e4620;
font-weight: bold;
}
.pbc-progress-bar {
height: 16px;
background: #e8f5e9;
border-radius: 8px;
position: relative;
overflow: hidden;
margin-bottom: 8px;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.pbc-progress-bar-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #43a047, #66bb6a, #81c784);
border-radius: 8px;
position: relative;
z-index: 1;
transition: width 0.1s ease-out;
}
.pbc-progress-bar-glow {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: linear-gradient(
90deg,
rgba(255,255,255,0.8) 0%,
rgba(255,255,255,0) 50%,
rgba(255,255,255,0.8) 100%
);
background-size: 200% 100%;
animation: progressGlow 2s linear infinite;
opacity: 0.6;
z-index: 2;
}
@keyframes progressGlow {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
#pbc-progress-steps {
font-size: 13px;
color: #4a6350;
font-style: italic;
min-height: 18px;
}