/* Peptide Dosage Calculator - Main Styles */
.pdc-syringe-fill {
    transform: translateY(17px) !important;
}
.pdc-calculator-container {
    padding: 20px;
    display: flex;
    gap: 30px;
}

/* Fields Container */
.pdc-fields-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Section Styling */
.pdc-section {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.pdc-section:hover {
    background: #efeff1;
}

.pdc-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pdc-icon {
    width: 40px;
    height: 40px;
}

.pdc-fieldhead {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
}

/* Button Lists */
.pdc-dose-btns,
.pdc-strength-btns,
.pdc-volume-btns {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pdc-dose-btns li, .pdc-strength-btns li, .pdc-volume-btns li {
    background: #ffffff;
    border: 2px solid #d2d2d7;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    list-style: none;
    width: 150px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pdc-dose-btns li:hover,
.pdc-strength-btns li:hover,
.pdc-volume-btns li:hover {
    border-color: #064acb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.pdc-dose-btns li.active,
.pdc-strength-btns li.active,
.pdc-volume-btns li.active {
    background: #064acb;
    border-color: #064acb;
    color: #ffffff;
    transform: scale(1.05);
}

.pdc-other-btn {
    background: #064acb !important;
    border-color: #064acb !important;
    color: #ffffff !important;
}

.pdc-other-btn:hover {
    background: #0052CC !important;
    border-color: #0052CC !important;
}

.pdc-bottom-info {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #6e6e73;
    font-weight: 500;
}

/* Results Container */
.pdc-results-container {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.pdc-result {
    text-align: center;
}

.pdc-result-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.pdc-result-value {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #064acb;
    margin: 10px 0;
    letter-spacing: -1px;
}

.pdc-result-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Syringe Visualization */
.pdc-syringe-container {
    position: relative;
    width: 140px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Plunger (Top Part) */
/* Syringe SVG Container */
.pdc-syringe-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdc-syringe-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Blue Fill Animation */
.pdc-syringe-fill {
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

/* Modal Styles */
.pdc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.pdc-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdc-modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.pdc-modal-close {
    color: #6e6e73;
    float: right;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    line-height: 20px;
    transition: color 0.2s ease;
}

.pdc-modal-close:hover {
    color: #1d1d1f;
}

.pdc-modal-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
}

.pdc-modal-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #d2d2d7;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.pdc-modal-input:focus {
    outline: none;
    border-color: #064acb;
}

.pdc-modal-btn {
    width: 100%;
    padding: 15px;
    background: #064acb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdc-modal-btn:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1030px) {
   .pdc-syringe-container{
       max-width: 180px;
   }
   .pdc-results-container {
    justify-content: start !important;
}
}

@media (max-width: 640px) {
.pdc-fields-container {
    width: 100% !important;
}

.pdc-results-container {
    width: 100% !important;
}


.pdc-calculator-container {
    padding: 0px !important;
    flex-wrap: wrap;
}

.pdc-dose-btns li, .pdc-strength-btns li, .pdc-volume-btns li {
    width: 120px;
    height: 45px;
}
}
