.peptide-calculator-container {
    margin: 30px auto;
    max-width: 1000px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.peptide-calculator-container h2 {
    margin-bottom: 25px;
    font-size: 1.8em;
    color: #333;
    text-align: center;
}

.peptide-calculator-container h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #444;
}

.calculator-section {
    margin-bottom: 30px;
}

.calculator-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.peptide-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    background-color: white;
    margin-bottom: 20px;
}

.peptide-calculator-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 20px;
}

.peptide-calculator-col {
    max-width: 100%;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calculator-label {
    font-weight: bold;
    margin-bottom: 35px;
    font-size: 1.1em;
    color: #333;
    text-align: center;
}

.peptide-quantity-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.nested-image {
    flex: 0 0 auto;
    width: 100px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nested-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.peptide-quantity-buttons {
    flex: 1;
}

.syringe-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.syringe-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    width: 120px;
    background-color: white;
}

.syringe-option img {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.syringe-option span {
    font-weight: 500;
    color: #555;
}

.syringe-option.selected {
    border-color: #4e85d5;
    background-color: rgba(78, 133, 213, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calculator-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.calculator-option-buttons button {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    min-width: 80px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #555;
}

.calculator-option-buttons button:hover {
    border-color: #ccc;
    background-color: #f5f5f5;
}

.calculator-option-buttons button.selected {
    border-color: #4e85d5;
    background-color: rgba(78, 133, 213, 0.05);
    color: #4e85d5;
    font-weight: 600;
}

.peptide-quantity-other,
.bw-amount-other,
.peptide-dose-other {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.other-input {
    width: 100px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

.peptide-calculator-result {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.calculator-result-text {
    font-size: 1.3em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.syringe-visualization {
    position: relative;
    height: 100px;
    background-color: #f5f5f5;
    margin: 0 auto 20px;
    max-width: 90%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.syringe-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #4e85d5;
    width: 0;
    transition: width 0.5s;
    opacity: 0.7;
    z-index: 1;
}

.syringe-markers {
    position: relative;
    height: 100%;
}

.marker {
    position: absolute;
    top: 0;
    height: 100%;
}

.marker, .minor-marker {
    z-index: 2;
}

.marker-line {
    position: absolute;
    top: 0;
    height: 40%;
    width: 1px;
    background-color: #666;
    left: 50%;
    transform: translateX(-50%);
}

.marker-line.major {
    height: 50%;
    width: 2px;
    background-color: #333;
}

.marker-text {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9em;
    color: #333;
    font-weight: 500;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0 2px;
    border-radius: 2px;
}

.minor-marker {
    position: absolute;
    height: 100%;
}

.minor-marker-line {
    position: absolute;
    top: 0;
    height: 30%;
    width: 1px;
    background-color: #999;
    left: 50%;
    transform: translateX(-50%);
}

.marker.highlighted .marker-line,
.minor-marker.highlighted .minor-marker-line {
    background-color: #4e85d5;
}

.marker.highlighted .marker-text {
    color: #4e85d5;
    font-weight: bold;
}

.peptide-calculator-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f4f8;
    border-radius: 8px;
}

.peptide-calculator-info ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.peptide-calculator-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.calculator-disclaimer {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
}

.calculator-disclaimer p {
    margin: 0;
    line-height: 1.5;
    color: #664d03;
}

@media (max-width: 768px) {
    .peptide-calculator-container {
        padding: 5px;
    }
    
    .peptide-quantity-container {
        flex-direction: column;
    }
    
    .nested-image {
        width: 25%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .syringe-option {
        width: 100px;
    }
    
    .calculator-result-text {
        font-size: 1.1em;
    }

    .peptide-calculator-result {
        padding: 25px 3px;
    }
}