/* =========================================== */
/* HORIZONTAL IMAGE SYRINGE STYLES - FINAL */
/* =========================================== */

.pcp-horizontal-syringe-container {
    margin-top: 35px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(16, 41, 62, 0.08);
    border: 1px solid #eef2f7;
    border-top: 6px solid #10293E;
    border-bottom: 6px solid #E62F2D;
}

.pcp-image-syringe-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.pcp-image-syringe-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.pcp-syringe-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

/* Fill Overlay */
.pcp-syringe-fill-overlay {
    height: 60px !important;
    margin-top: -8.5px;
    position: absolute;
    top: 25%; /* Adjust based on your syringe image */
    left: 16%; /* Match syringe fill start */
    width: 0%;
background: linear-gradient(90deg, 
        rgba(164, 255, 197, 0.467) 0%, 
        rgba(174, 255, 204, 0.526) 100%);
    /*border-radius: 12px 0 0 12px;*/
    transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    pointer-events: none;
}

.pcp-syringe-fill-overlay.pcp-over-limit {
    background: linear-gradient(90deg, 
        rgba(230, 47, 45, 0.9) 0%, 
        rgba(248, 113, 113, 0.95) 100%);
}

/* Unit Indicator */
.pcp-syringe-unit-indicator {
    margin-top: -50px;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 41, 62, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 70px;
    text-align: center;
    transition: all 0.5s ease;
    border: 2px solid white;
}

.pcp-syringe-unit-indicator.pcp-over-limit {
    background: rgba(230, 47, 45, 0.95);
}

/* Scale */
.pcp-image-syringe-scale {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 8.5%;
    box-sizing: border-box;
}

.pcp-image-scale-mark {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    position: relative;
    flex: 1;
}

.pcp-image-scale-mark::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background-color: #94a3b8;
}

/* Legend */
.pcp-svg-legend {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pcp-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
    padding: 8px 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pcp-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pcp-horizontal-syringe-container {
        padding: 20px;
        margin-top: 25px;
    }
    
    .pcp-syringe-unit-indicator {
        font-size: 16px;
        padding: 6px 12px;
        min-width: 60px;
        top: 8%;
    }
    
    .pcp-syringe-fill-overlay {
        top: 26%;
        height: 20%;
    }
}

@media (max-width: 480px) {
    .pcp-horizontal-syringe-container {
        padding: 15px;
        margin-top: 20px;
    }
    
    .pcp-syringe-unit-indicator {
        font-size: 14px;
        padding: 5px 10px;
        min-width: 50px;
        top: 6%;
    }
    
    .pcp-syringe-fill-overlay {
        top: 27%;
        height: 18%;
    }
    
    .pcp-image-scale-mark {
        font-size: 10px;
    }
    
    .pcp-svg-legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Animations */
@keyframes fill-glow {
    0% { filter: drop-shadow(0 0 3px rgba(133, 255, 178, 0.322)); }
    50% { filter: drop-shadow(0 0 8px rgba(152, 255, 190, 0.404)); }
    100% { filter: drop-shadow(0 0 3px rgba(164, 254, 197, 0.353)); }
}

.pcp-syringe-fill-overlay {
    animation: fill-glow 2s ease-in-out infinite;
}
/* Peptide Calculator Professional Styles - Mobile Optimized */
.pcp-main-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Montserrat', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.pcp-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
.pcp-header-container {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(16, 41, 62, 0.2);
}

@media (max-width: 768px) {
    .pcp-header-container {
        padding: 20px 15px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-header-container {
        padding: 18px 12px;
        border-radius: 8px;
    }
}

.pcp-main-title {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .pcp-main-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .pcp-main-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-main-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
}

.pcp-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .pcp-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .pcp-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .pcp-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Disclaimer */
.pcp-disclaimer-notice {
    background-color: #fff3cd;
    border-left: 6px solid #ffc107;
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 8px;
    color: #856404;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.1);
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-disclaimer-notice {
        padding: 15px;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-disclaimer-notice {
        padding: 12px;
        font-size: 0.9rem;
        border-left-width: 4px;
    }
}

/* Grid Layout */
.pcp-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .pcp-grid-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .pcp-grid-layout {
        gap: 20px;
        margin-bottom: 30px;
    }
}

/* Input Panel */
.pcp-input-panel {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(16, 41, 62, 0.08);
    border: 1px solid #eef2f7;
}

@media (max-width: 768px) {
    .pcp-input-panel {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-input-panel {
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-input-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f4f8;
}

@media (max-width: 768px) {
    .pcp-input-group {
        margin-bottom: 25px;
        padding-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-input-group {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

.pcp-input-group:last-child {
    border-bottom: none;
}

.pcp-section-title {
    color: #10293E;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 992px) {
    .pcp-section-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .pcp-section-title {
        font-size: 1.3rem;
        margin-bottom: 14px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-section-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
}

.pcp-section-title i {
    color: #E62F2D;
    font-size: 1.3rem;
}

@media (max-width: 480px) {
    .pcp-section-title i {
        font-size: 1.1rem;
    }
}

.pcp-input-desc {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-input-desc {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-input-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* Option Grid */
.pcp-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .pcp-option-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-option-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 6px;
    }
}

.pcp-option-btn {
    padding: 14px 10px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .pcp-option-btn {
        padding: 12px 8px;
        font-size: 0.9rem;
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .pcp-option-btn {
        padding: 10px 6px;
        font-size: 0.85rem;
        min-height: 40px;
        border-radius: 8px;
    }
}

.pcp-option-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(16, 41, 62, 0.1);
}

.pcp-option-btn.pcp-selected {
    background-color: #10293E;
    color: white;
    border-color: #10293E;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
}

/* Input Fields */
.pcp-custom-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 15px;
    transition: all 0.3s;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .pcp-custom-input {
        padding: 14px;
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-custom-input {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 10px;
        border-radius: 8px;
    }
}

.pcp-custom-input:focus {
    border-color: #10293E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 41, 62, 0.1);
}

/* Error Messages */
.pcp-error-msg {
    color: #dc2626;
    font-size: 0.95rem;
    margin-top: 10px;
    display: none;
    padding: 10px 15px;
    background-color: #fef2f2;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-error-msg {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Buttons */
.pcp-calc-btn {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    border: none;
    padding: 16px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-calc-btn {
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 18px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-calc-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        margin-top: 15px;
        border-radius: 8px;
    }
}

.pcp-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(16, 41, 62, 0.3);
}

.pcp-reset-btn {
    background-color: #475569;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-reset-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-reset-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

.pcp-reset-btn:hover {
    background-color: #334155;
    transform: translateY(-2px);
}

/* Results Panel */
.pcp-results-panel {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(16, 41, 62, 0.08);
    border: 1px solid #eef2f7;
}

@media (max-width: 768px) {
    .pcp-results-panel {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-results-panel {
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-concentration-display {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
}

@media (max-width: 768px) {
    .pcp-concentration-display {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-concentration-display {
        padding: 18px 15px;
        border-radius: 12px;
    }
}

.pcp-result-title {
    color: white;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-result-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-result-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
}

.pcp-concentration-value {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 12px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

@media (max-width: 992px) {
    .pcp-concentration-value {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .pcp-concentration-value {
        font-size: 2rem;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .pcp-concentration-value {
        font-size: 1.8rem;
        margin: 8px 0;
    }
}

/* Warning Alert */
.pcp-warning-alert {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    color: #991b1b;
    display: none;
    animation: pcp-pulse 2s infinite;
    border-left: 6px solid #dc2626;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-warning-alert {
        padding: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-warning-alert {
        padding: 12px;
        font-size: 0.9rem;
        border-left-width: 4px;
    }
}

@keyframes pcp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Results Grid */
.pcp-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .pcp-results-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .pcp-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .pcp-results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.pcp-result-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.05);
}

@media (max-width: 768px) {
    .pcp-result-card {
        padding: 18px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-result-card {
        padding: 16px;
        border-radius: 10px;
    }
}

.pcp-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 41, 62, 0.1);
}

@media (max-width: 768px) {
    .pcp-result-card:hover {
        transform: translateY(-3px);
    }
}

.pcp-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10293E, #E62F2D);
}

@media (max-width: 480px) {
    .pcp-result-card::before {
        height: 3px;
    }
}

.pcp-result-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-result-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-result-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
}

.pcp-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: #10293E;
    margin: 12px 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    word-break: break-word;
}

@media (max-width: 992px) {
    .pcp-result-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .pcp-result-value {
        font-size: 1.6rem;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .pcp-result-value {
        font-size: 1.5rem;
        margin: 8px 0;
    }
}

.pcp-result-subtext {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 480px) {
    .pcp-result-subtext {
        font-size: 0.85rem;
    }
}

/* Syringe Styles */
.pcp-syringe-container {
    margin-top: 30px;
    padding: 22px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(16, 41, 62, 0.05);
    border-top: 6px solid #E62F2D;
}

@media (max-width: 768px) {
    .pcp-syringe-container {
        margin-top: 25px;
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-container {
        margin-top: 20px;
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-syringe-title {
    color: #10293E;
    margin-bottom: 22px;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-syringe-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
}

.pcp-syringe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pcp-syringe-wrapper {
        flex-direction: column;
        margin-bottom: 18px;
    }
}

.pcp-syringe-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
 margin-left: -50px;
}

@media (max-width: 768px) {
    .pcp-syringe-visual {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-visual {
        margin-bottom: 15px;
    }
}

.pcp-syringe-body {
    width: 140px;
    height: 300px;
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px 12px 6px 6px;
    position: relative;
    border: 4px solid #cbd5e1;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(16, 41, 62, 0.1);
}

@media (max-width: 992px) {
    .pcp-syringe-body {
        width: 120px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .pcp-syringe-body {
        width: 110px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-body {
        width: 100px;
        height: 240px;
        border-width: 3px;
    }
}

.pcp-syringe-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #15803d 0%, #4ade80 100%); /* GREEN */
    border-radius: 6px 6px 0 0;
    transition: height 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-syringe-fill.pcp-over-limit {
    background: linear-gradient(to top, #E62F2D 0%, #f87171 100%);
}

.pcp-syringe-fill-text {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transform: rotate(-90deg);
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    margin-top:-100px ;
}

@media (max-width: 992px) {
    .pcp-syringe-fill-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pcp-syringe-fill-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-fill-text {
        font-size: 1rem;
    }
}

.pcp-syringe-needle {
    width: 22px;
    height: 40px;
    background: linear-gradient(to bottom, #94a3b8 0%, #64748b 100%);
    border-radius: 3px 3px 0 0;
    position: relative;
    margin-top: -5px;
    z-index: 1;
}

@media (max-width: 480px) {
    .pcp-syringe-needle {
        width: 20px;
        height: 35px;
    }
}

.pcp-syringe-needle-tip {
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 16px solid #64748b;
    position: absolute;
    top: 40px;
    left: 0;
}

@media (max-width: 480px) {
    .pcp-syringe-needle-tip {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 14px solid #64748b;
        top: 35px;
    }
}

.pcp-syringe-scale {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0px;
    height: 300px;
    justify-content: space-between;
    padding: 15px 0;

}

@media (max-width: 768px) {
    .pcp-syringe-scale {
        flex-direction: row;
        height: auto;
        width: 100%;
        justify-content: space-around;
        margin-left: 0;
        margin-top: 15px;
        padding: 10px;
        background-color: #f8fafc;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-scale {
        padding: 8px;
        border-radius: 8px;
    }
}

.pcp-scale-mark {
    padding: 0.5px;
    display: flex;
    align-items: center;
    font-weight: 100;
    color: #475569;
    font-size: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-scale-mark {
        flex-direction: column;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-scale-mark {
        font-size: 0.85rem;
    }
}

.pcp-scale-line {
    width: 20px;
    height: 3px;
    background-color: #94a3b8;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .pcp-scale-line {
        margin-right: 0;
        margin-bottom: 5px;
        width: 25px;
    }
}

@media (max-width: 480px) {
    .pcp-scale-line {
        width: 20px;
    }
}

.pcp-syringe-info {
    text-align: center;
    margin-top: 18px;
    padding: 18px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-syringe-info {
        padding: 15px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-info {
        padding: 12px;
        margin-top: 12px;
        border-radius: 10px;
    }
}

.pcp-dose-highlight {
    font-size: 1.4rem;
    font-weight: 800;
    color: #10293E;
    background-color: #f0f4f8;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    word-break: break-word;
}

@media (max-width: 992px) {
    .pcp-dose-highlight {
        font-size: 1.3rem;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .pcp-dose-highlight {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .pcp-dose-highlight {
        font-size: 1.1rem;
        padding: 6px 14px;
        border-radius: 20px;
    }
}

.pcp-dose-highlight.pcp-warning {
    color: #E62F2D;
    background-color: #fee2e2;
}

.pcp-info-note {
    background-color: #f0f4f8;
    border-left: 5px solid #10293E;
    padding: 16px;
    margin-top: 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-info-note {
        padding: 14px;
        margin-top: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-info-note {
        padding: 12px;
        margin-top: 12px;
        font-size: 0.85rem;
        border-left-width: 4px;
    }
}
.pcp-syringe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    position: relative;
}

.imageSyringe {
    width: 100%;
    height: 60px; /* Adjust image size as needed */
    position: relative;
}

.pcp-syringe-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, #15803d 0%, #4ade80 100%); /* Green fill */
    transition: width 1s ease-out;
}

.pcp-syringe-info {
    text-align: center;
    margin-top: 18px;
    padding: 18px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'Montserrat', sans-serif;
}

.pcp-dose-highlight {
    font-size: 1.4rem;
    font-weight: 800;
    color: #10293E;
    background-color: #f0f4f8;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    word-break: break-word;
}

/* Technical Details */
.pcp-details-toggle {
    background-color: #10293E;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-details-toggle {
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-details-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
        margin-top: 15px;
        border-radius: 8px;
    }
}

.pcp-details-toggle:hover {
    background-color: #0a1c2b;
    transform: translateY(-2px);
}

.pcp-technical-details {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 22px;
    margin-top: 18px;
    border-left: 6px solid #E62F2D;
    display: none;
}

@media (max-width: 768px) {
    .pcp-technical-details {
        padding: 18px;
        border-radius: 12px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .pcp-technical-details {
        padding: 16px;
        border-radius: 10px;
        margin-top: 12px;
        border-left-width: 4px;
    }
}

.pcp-technical-details.pcp-show {
    display: block;
    animation: pcp-fadeIn 0.5s ease;
}

@keyframes pcp-fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pcp-formula-box {
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    border: 2px dashed #cbd5e1;
    color: #10293E;
    overflow-x: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pcp-formula-box {
        padding: 14px;
        font-size: 0.95rem;
        margin: 14px 0;
    }
}

@media (max-width: 480px) {
    .pcp-formula-box {
        padding: 12px;
        font-size: 0.9rem;
        margin: 12px 0;
        border-radius: 8px;
    }
}

.pcp-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pcp-detail-row {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-detail-row {
        margin-bottom: 10px;
        padding-bottom: 10px;
        flex-direction: column;
    }
}

.pcp-detail-label {
    font-weight: 700;
    color: #475569;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-detail-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-detail-label {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
}

.pcp-detail-value {
    font-weight: 700;
    color: #10293E;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: right;
}

@media (max-width: 768px) {
    .pcp-detail-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-detail-value {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Footer */
.pcp-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 22px;
    border-top: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-footer {
        margin-top: 30px;
        padding-top: 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-footer {
        margin-top: 25px;
        padding-top: 15px;
        font-size: 0.85rem;
    }
}

.pcp-unit-note {
    font-size: 0.9rem;
    color: #10293E;
    margin-top: 10px;
    font-weight: 600;
    padding: 8px 12px;
    background-color: #f0f4f8;
    border-radius: 8px;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    word-break: break-word;
}

@media (max-width: 768px) {
    .pcp-unit-note {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .pcp-unit-note {
        font-size: 0.8rem;
        padding: 5px 8px;
        border-radius: 6px;
    }
}

/* Font weight adjustments for Montserrat */
.pcp-input-desc,
.pcp-error-msg,
.pcp-warning-alert,
.pcp-result-label,
.pcp-result-subtext,
.pcp-scale-mark,
.pcp-syringe-info,
.pcp-info-note,
.pcp-footer,
.pcp-unit-note,
.pcp-detail-label {
    font-weight: 500;
}

/* Font weight adjustments for Poppins */
.pcp-main-title,
.pcp-section-title,
.pcp-calc-btn,
.pcp-result-title,
.pcp-concentration-value,
.pcp-result-value,
.pcp-syringe-title,
.pcp-dose-highlight,
.pcp-detail-value {
    font-weight: 600;
}

/* Touch-friendly enhancements */
@media (max-width: 768px) {
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle {
        min-height: 44px;
    }
    
    /* Increase touch target sizes */
    .pcp-custom-input,
    .pcp-option-btn {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for mobile */
    .pcp-wrapper {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* Even smaller touch targets for very small screens */
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle {
        min-height: 40px;
    }
    
    .pcp-wrapper {
        padding: 12px 10px;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6,
    .pcp-main-title,
    .pcp-section-title,
    .pcp-syringe-title {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Landscape orientation optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .pcp-syringe-body {
        height: 200px;
        width: 90px;
    }
    
    .pcp-syringe-scale {
        height: 200px;
    }
    
    .pcp-syringe-fill-text {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pcp-option-btn.pcp-selected {
        border: 3px solid white;
    }/* Peptide Calculator Professional Styles - Mobile Optimized */
.pcp-main-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Montserrat', 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.pcp-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
.pcp-header-container {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(16, 41, 62, 0.2);
}

@media (max-width: 768px) {
    .pcp-header-container {
        padding: 20px 15px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-header-container {
        padding: 18px 12px;
        border-radius: 8px;
    }
}

.pcp-main-title {
    color: white;
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .pcp-main-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .pcp-main-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-main-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
}

.pcp-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .pcp-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .pcp-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .pcp-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Disclaimer */
.pcp-disclaimer-notice {
    background-color: #fff3cd;
    border-left: 6px solid #ffc107;
    padding: 18px;
    margin-bottom: 25px;
    border-radius: 8px;
    color: #856404;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.1);
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-disclaimer-notice {
        padding: 15px;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-disclaimer-notice {
        padding: 12px;
        font-size: 0.9rem;
        border-left-width: 4px;
    }
}

/* Grid Layout */
.pcp-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .pcp-grid-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .pcp-grid-layout {
        gap: 20px;
        margin-bottom: 30px;
    }
}

/* Input Panel */
.pcp-input-panel {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(16, 41, 62, 0.08);
    border: 1px solid #eef2f7;
}

@media (max-width: 768px) {
    .pcp-input-panel {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-input-panel {
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-input-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f4f8;
}

@media (max-width: 768px) {
    .pcp-input-group {
        margin-bottom: 25px;
        padding-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-input-group {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

.pcp-input-group:last-child {
    border-bottom: none;
}

.pcp-section-title {
    color: #10293E;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 992px) {
    .pcp-section-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .pcp-section-title {
        font-size: 1.3rem;
        margin-bottom: 14px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-section-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }
}

.pcp-section-title i {
    color: #E62F2D;
    font-size: 1.3rem;
}

@media (max-width: 480px) {
    .pcp-section-title i {
        font-size: 1.1rem;
    }
}

.pcp-input-desc {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-input-desc {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-input-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

/* Option Grid */
.pcp-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .pcp-option-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-option-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 6px;
    }
}

.pcp-option-btn {
    padding: 14px 10px;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .pcp-option-btn {
        padding: 12px 8px;
        font-size: 0.9rem;
        min-height: 45px;
    }
}

@media (max-width: 480px) {
    .pcp-option-btn {
        padding: 10px 6px;
        font-size: 0.85rem;
        min-height: 40px;
        border-radius: 8px;
    }
}

.pcp-option-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(16, 41, 62, 0.1);
}

.pcp-option-btn.pcp-selected {
    background-color: #10293E;
    color: white;
    border-color: #10293E;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
}

/* Input Fields */
.pcp-custom-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 15px;
    transition: all 0.3s;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .pcp-custom-input {
        padding: 14px;
        font-size: 0.95rem;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-custom-input {
        padding: 12px;
        font-size: 0.9rem;
        margin-top: 10px;
        border-radius: 8px;
    }
}

.pcp-custom-input:focus {
    border-color: #10293E;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 41, 62, 0.1);
}

/* Error Messages */
.pcp-error-msg {
    color: #dc2626;
    font-size: 0.95rem;
    margin-top: 10px;
    display: none;
    padding: 10px 15px;
    background-color: #fef2f2;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-error-msg {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* Buttons */
.pcp-calc-btn {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    border: none;
    padding: 16px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-calc-btn {
        padding: 14px 20px;
        font-size: 1rem;
        margin-top: 18px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-calc-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        margin-top: 15px;
        border-radius: 8px;
    }
}

.pcp-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(16, 41, 62, 0.3);
}

.pcp-reset-btn {
    background-color: #475569;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-reset-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-reset-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

.pcp-reset-btn:hover {
    background-color: #334155;
    transform: translateY(-2px);
}

/* Results Panel */
.pcp-results-panel {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(16, 41, 62, 0.08);
    border: 1px solid #eef2f7;
}

@media (max-width: 768px) {
    .pcp-results-panel {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-results-panel {
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-concentration-display {
    background: linear-gradient(135deg, #10293E 0%, #E62F2D 100%);
    color: white;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.2);
}

@media (max-width: 768px) {
    .pcp-concentration-display {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-concentration-display {
        padding: 18px 15px;
        border-radius: 12px;
    }
}

.pcp-result-title {
    color: white;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-result-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-result-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
}

.pcp-concentration-value {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 12px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

@media (max-width: 992px) {
    .pcp-concentration-value {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .pcp-concentration-value {
        font-size: 2rem;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .pcp-concentration-value {
        font-size: 1.8rem;
        margin: 8px 0;
    }
}

/* Warning Alert */
.pcp-warning-alert {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    color: #991b1b;
    display: none;
    animation: pcp-pulse 2s infinite;
    border-left: 6px solid #dc2626;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-warning-alert {
        padding: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-warning-alert {
        padding: 12px;
        font-size: 0.9rem;
        border-left-width: 4px;
    }
}

@keyframes pcp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Results Grid */
.pcp-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .pcp-results-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .pcp-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .pcp-results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.pcp-result-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 41, 62, 0.05);
}

@media (max-width: 768px) {
    .pcp-result-card {
        padding: 18px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-result-card {
        padding: 16px;
        border-radius: 10px;
    }
}

.pcp-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 41, 62, 0.1);
}

@media (max-width: 768px) {
    .pcp-result-card:hover {
        transform: translateY(-3px);
    }
}

.pcp-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10293E, #E62F2D);
}

@media (max-width: 480px) {
    .pcp-result-card::before {
        height: 3px;
    }
}

.pcp-result-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-result-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-result-label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
}

.pcp-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: #10293E;
    margin: 12px 0;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    word-break: break-word;
}

@media (max-width: 992px) {
    .pcp-result-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .pcp-result-value {
        font-size: 1.6rem;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .pcp-result-value {
        font-size: 1.5rem;
        margin: 8px 0;
    }
}

.pcp-result-subtext {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 480px) {
    .pcp-result-subtext {
        font-size: 0.85rem;
    }
}

/* Syringe Styles */
.pcp-syringe-container {
    margin-top: 30px;
    padding: 22px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(16, 41, 62, 0.05);
    border-top: 6px solid #E62F2D;
}

@media (max-width: 768px) {
    .pcp-syringe-container {
        margin-top: 25px;
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-container {
        margin-top: 20px;
        padding: 18px;
        border-radius: 12px;
    }
}

.pcp-syringe-title {
    color: #10293E;
    margin-bottom: 22px;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .pcp-syringe-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
}

.pcp-syringe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pcp-syringe-wrapper {
        flex-direction: column;
        margin-bottom: 18px;
    }
}

.pcp-syringe-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -50px;
}

@media (max-width: 768px) {
    .pcp-syringe-visual {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-visual {
        margin-bottom: 15px;
    }
}

.pcp-syringe-body {
    width: 140px;
    height: 300px;
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px 12px 6px 6px;
    position: relative;
    border: 4px solid #cbd5e1;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(16, 41, 62, 0.1);
}

@media (max-width: 992px) {
    .pcp-syringe-body {
        width: 120px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .pcp-syringe-body {
        width: 110px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-body {
        width: 100px;
        height: 240px;
        border-width: 3px;
    }
}

.pcp-syringe-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #15803d 0%, #4ade80 100%); /* GREEN */
    border-radius: 6px 6px 0 0;
    transition: height 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-syringe-fill.pcp-over-limit {
    background: linear-gradient(to top, #E62F2D 0%, #f87171 100%);
}

.pcp-syringe-fill-text {
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transform: rotate(-90deg);
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    margin-top:-100px ;
}

@media (max-width: 992px) {
    .pcp-syringe-fill-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .pcp-syringe-fill-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-fill-text {
        font-size: 1rem;
    }
}

.pcp-syringe-needle {
    width: 22px;
    height: 40px;
    background: linear-gradient(to bottom, #94a3b8 0%, #64748b 100%);
    border-radius: 3px 3px 0 0;
    position: relative;
    margin-top: -5px;
    z-index: 1;
}

@media (max-width: 480px) {
    .pcp-syringe-needle {
        width: 20px;
        height: 35px;
    }
}

.pcp-syringe-needle-tip {
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 16px solid #64748b;
    position: absolute;
    top: 40px;
    left: 0;
}

@media (max-width: 480px) {
    .pcp-syringe-needle-tip {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 14px solid #64748b;
        top: 35px;
    }
}

.pcp-syringe-scale {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*margin-left: 15px;*/
    height: 300px;
    justify-content: space-between;
    padding: 15px 0;
}
@media (max-width: 768px) {
    .pcp-syringe-scale {
        flex-direction: row;
        height: auto;
        width: 100%;
        justify-content: space-around;
        margin-left: 0;
        margin-top: 15px;
        padding: 10px;
        background-color: #f8fafc;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-scale {
        padding: 8px;
        border-radius: 8px;
    }
}

.pcp-scale-mark {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #475569;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    padding: 1px 0;
}
.pcp-scale-mark .pcp-scale-line {
    width: 20px;
    height: 3px;
    background-color: #94a3b8;
    margin-right: 12px;
}

.pcp-scale-mark.large-line .pcp-scale-line {
    width: 40px;  /* Larger line */
}

.pcp-scale-mark.small-line .pcp-scale-line {
    width: 20px;  /* Small line */
    margin-bottom: 6px;  /* Adding space for small lines */
}

/* Adjustments for small screens */
@media (max-width: 768px) {
    .pcp-syringe-scale {
        flex-direction: row;
        height: auto;
        width: 100%;
        justify-content: space-around;
        margin-left: 0;
        margin-top: 15px;
        padding: 10px;
        background-color: #f8fafc;
        border-radius: 10px;
    }

    .pcp-scale-mark {
        flex-direction: column;
        font-size: 0.9rem;
    }

    .pcp-scale-mark .pcp-scale-line {
        margin-bottom: 5px;
    }

    .pcp-scale-mark.large-line .pcp-scale-line {
        width: 30px;
    }
}
@media (max-width: 768px) {
    .pcp-scale-mark {
        flex-direction: column;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-scale-mark {
        font-size: 0.85rem;
    }
}

.pcp-scale-line {
    width: 20px;
    height: 0px;
    background-color: #94a3b8;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .pcp-scale-line {
        margin-right: 0;
        margin-bottom: 5px;
        width: 25px;
    }
}

@media (max-width: 480px) {
    .pcp-scale-line {
        width: 20px;
    }
}

.pcp-syringe-info {
    text-align: center;
    margin-top: 18px;
    padding: 18px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-syringe-info {
        padding: 15px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .pcp-syringe-info {
        padding: 12px;
        margin-top: 12px;
        border-radius: 10px;
    }
}

.pcp-dose-highlight {
    font-size: 1.4rem;
    font-weight: 800;
    color: #10293E;
    background-color: #f0f4f8;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    word-break: break-word;
}

@media (max-width: 992px) {
    .pcp-dose-highlight {
        font-size: 1.3rem;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .pcp-dose-highlight {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .pcp-dose-highlight {
        font-size: 1.1rem;
        padding: 6px 14px;
        border-radius: 20px;
    }
}

.pcp-dose-highlight.pcp-warning {
    color: #E62F2D;
    background-color: #fee2e2;
}

.pcp-info-note {
    background-color: #f0f4f8;
    border-left: 5px solid #10293E;
    padding: 16px;
    margin-top: 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-info-note {
        padding: 14px;
        margin-top: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-info-note {
        padding: 12px;
        margin-top: 12px;
        font-size: 0.85rem;
        border-left-width: 4px;
    }
}

/* Technical Details */
.pcp-details-toggle {
    background-color: #10293E;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-details-toggle {
        padding: 12px 16px;
        font-size: 0.9rem;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .pcp-details-toggle {
        padding: 10px 14px;
        font-size: 0.85rem;
        margin-top: 15px;
        border-radius: 8px;
    }
}

.pcp-details-toggle:hover {
    background-color: #0a1c2b;
    transform: translateY(-2px);
}

.pcp-technical-details {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 22px;
    margin-top: 18px;
    border-left: 6px solid #E62F2D;
    display: none;
}

@media (max-width: 768px) {
    .pcp-technical-details {
        padding: 18px;
        border-radius: 12px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .pcp-technical-details {
        padding: 16px;
        border-radius: 10px;
        margin-top: 12px;
        border-left-width: 4px;
    }
}

.pcp-technical-details.pcp-show {
    display: block;
    animation: pcp-fadeIn 0.5s ease;
}

@keyframes pcp-fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pcp-formula-box {
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    border: 2px dashed #cbd5e1;
    color: #10293E;
    overflow-x: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pcp-formula-box {
        padding: 14px;
        font-size: 0.95rem;
        margin: 14px 0;
    }
}

@media (max-width: 480px) {
    .pcp-formula-box {
        padding: 12px;
        font-size: 0.9rem;
        margin: 12px 0;
        border-radius: 8px;
    }
}

.pcp-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pcp-detail-row {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .pcp-detail-row {
        margin-bottom: 10px;
        padding-bottom: 10px;
        flex-direction: column;
    }
}

.pcp-detail-label {
    font-weight: 700;
    color: #475569;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-detail-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-detail-label {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
}

.pcp-detail-value {
    font-weight: 700;
    color: #10293E;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: right;
}

@media (max-width: 768px) {
    .pcp-detail-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pcp-detail-value {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Footer */
.pcp-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 22px;
    border-top: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .pcp-footer {
        margin-top: 30px;
        padding-top: 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pcp-footer {
        margin-top: 25px;
        padding-top: 15px;
        font-size: 0.85rem;
    }
}

.pcp-unit-note {
    font-size: 0.9rem;
    color: #10293E;
    margin-top: 10px;
    font-weight: 600;
    padding: 8px 12px;
    background-color: #f0f4f8;
    border-radius: 8px;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    word-break: break-word;
}

@media (max-width: 768px) {
    .pcp-unit-note {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .pcp-unit-note {
        font-size: 0.8rem;
        padding: 5px 8px;
        border-radius: 6px;
    }
}

/* Font weight adjustments for Montserrat */
.pcp-input-desc,
.pcp-error-msg,
.pcp-warning-alert,
.pcp-result-label,
.pcp-result-subtext,
.pcp-scale-mark,
.pcp-syringe-info,
.pcp-info-note,
.pcp-footer,
.pcp-unit-note,
.pcp-detail-label {
    font-weight: 500;
}

/* Font weight adjustments for Poppins */
.pcp-main-title,
.pcp-section-title,
.pcp-calc-btn,
.pcp-result-title,
.pcp-concentration-value,
.pcp-result-value,
.pcp-syringe-title,
.pcp-dose-highlight,
.pcp-detail-value {
    font-weight: 600;
}

/* Touch-friendly enhancements */
@media (max-width: 768px) {
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle {
        min-height: 44px;
    }
    
    /* Increase touch target sizes */
    .pcp-custom-input,
    .pcp-option-btn {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for mobile */
    .pcp-wrapper {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* Even smaller touch targets for very small screens */
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle {
        min-height: 40px;
    }
    
    .pcp-wrapper {
        padding: 12px 10px;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6,
    .pcp-main-title,
    .pcp-section-title,
    .pcp-syringe-title {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Landscape orientation optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .pcp-syringe-body {
        height: 200px;
        width: 90px;
    }
    
    .pcp-syringe-scale {
        height: 200px;
    }
    
    .pcp-syringe-fill-text {
        font-size: 1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pcp-option-btn.pcp-selected {
        border: 3px solid white;
    }
    
    .pcp-custom-input:focus {
        outline: 3px solid #10293E;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle,
    .pcp-result-card {
        transition: none;
    }
    
    .pcp-syringe-fill {
        transition: none;
    }
    
    .pcp-warning-alert {
        animation: none;
    }
    
    .pcp-technical-details.pcp-show {
        animation: none;
    }
}
    
    .pcp-custom-input:focus {
        outline: 3px solid #10293E;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pcp-option-btn,
    .pcp-calc-btn,
    .pcp-reset-btn,
    .pcp-details-toggle,
    .pcp-result-card {
        transition: none;
    }
    
    .pcp-syringe-fill {
        transition: none;
    }
    
    .pcp-warning-alert {
        animation: none;
    }
    
    .pcp-technical-details.pcp-show {
        animation: none;
    }
}