:root {
    --pc-primary: #4DA3D9;
    /* Primary Blue */
    --pc-primary-hover: #009add;
    --pc-bg-selected: #f0f9ff;
    /* Light blue for selected items */
    --pc-border: #e2e8f0;
    /* Slate 300 */
    --pc-border-hover: #cbd5e1;
    /* Slate 400 */
    --pc-text-dark: #1e293b;
    /* Slate 800 */
    --pc-text-light: #64748b;
    /* Slate 500 */
    --pc-radius: 6px;
    --pc-warning: #dc2626;
}

.pc-wrapper {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    padding: 0;
    max-width: 900px;
    margin: 20px auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pc-wrapper * {
    box-sizing: border-box;
}


.pc-container {
    display: flex;
    flex-wrap: wrap;
}

/* Titles */
.pc-title {
    display: none;
    /* Reference design doesn't show a big title inside the card usually */
}

/* Column Layout */
.pc-column {
    padding: 30px;
}

.pc-col-left {
    flex: 0 0 35%;
    /* Approx 1/3 width */
    background: #f8fafc;
    /* Slightly darker bg for left column in some designs, or just white */
    border-right: 1px solid var(--pc-border);
}

.pc-col-right {
    flex: 1;
}

/* Steps */
.pc-step {
    margin-bottom: 30px;
}

.pc-step:last-child {
    margin-bottom: 0;
}

.pc-step__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pc-text-dark);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* Options Grid */
.pc-step__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual Option Button */
.pc-step__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    color: var(--pc-text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    text-decoration: none;
    line-height: 1;
}

.pc-step__option:hover {
    border-color: var(--pc-border-hover);
    background: #fafafa;
}

.pc-step__option.selected,
.pc-step__option.active {
    /* Handle both classes */
    background: var(--pc-bg-selected);
    border-color: var(--pc-primary);
    color: var(--pc-primary);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--pc-primary);
    /* Thick border effect */
}

/* Syringe Option Specialty Style */
.pc-col-left .pc-step__option {
    width: 100%;
    justify-content: space-between;
    padding: 15px;
    border-width: 2px;
    display: flex;
    flex-direction: column;
}

.pc-step__label {
    font-size: 16px;
    font-weight: 700;
}

.pc-step__img {
    height: 180px;
    width: auto;
    object-fit: contain;
    margin-left: 20px;
}

/* Input Styles */
.pc-custom-input {
    width: 80px;
    padding: 10px;
    border: 1px solid var(--pc-primary);
    border-radius: var(--pc-radius);
    outline: none;
    font-size: 14px;
}

.hidden {
    display: none !important;
}

/* Result Visualization Area */
.pc-result-container {
    margin-top: 0;
    padding: 30px;
    background: #fff;
    border-top: 1px solid var(--pc-border);
}

.pc-result-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--pc-text-dark);
    font-weight: 600;
}

#pc-unit-display,
#pc-dose-display {
    color: var(--pc-primary);
    font-weight: 800;
}

/* Visualization Styles */
.pc-visualization {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 90px;
    margin: 0 auto;
    background: #fff;
    /* Optional shadow or border for the container */
}

.pc-ruler-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* Ensure image connects fully */
    background-position: center;
    z-index: 10;
    pointer-events: none;
    mix-blend-mode: multiply;
    /* Key: allows 'white' in image to be transparent */
}

.pc-fill-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--pc-primary);
    z-index: 1;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pc-warning {
    color: var(--pc-warning);
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    display: none;
}

/* Responsive */
@media (max-width: 746px) {
    .pc-container {
        flex-direction: column;
    }
	
	.pc-result-container{
		padding:15px;
	}
	
	.pc-col-right{
		padding: 15px;
	}

    .pc-col-left {
        border-right: none;
        border-bottom: 1px solid var(--pc-border);
		padding: 15px;
    }
	
	.pc-visualization{
		height: 50px;
	}

    .pc-step__img {
        height: auto;
        /* Smaller syringe on mobile */
    }

    .pc-col-left .pc-step__option {
        align-items: center;
    }
}