/* assets/peptide-calculator.css */
.psa-pep-wrapper {
    max-width: 480px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-family: system-ui, sans-serif;
    margin: 0 auto;
}

.psa-advanced-wrapper {
    max-width: 480px;
}

.psa-pep-heading {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.psa-pep-field {
    margin-bottom: 12px;
}

.psa-pep-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.psa-pep-field input,
.psa-pep-field select {
    width: 200px;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.psa-pep-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.psa-pep-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.psa-pep-input-wrap input {
    width: 50%;
}

.psa-unit-label {
    font-size: 0.85rem;
    color: #555;
    background: #f1f1f1;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.psa-pep-btn {
    margin-top: 10px;
    padding: 8px 14px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.psa-pep-btn:hover {
    background: #005f8a;
}

.psa-pep-error {
    margin-top: 10px;
    color: #d9534f;
}

.psa-pep-results {
    margin-top: 14px;
    font-size: 0.95rem;
}

.psa-syringe-visual {
    margin-top: 20px;
    width: 100%;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.psa-syringe-bar {
    height: 12px;
    background: #2196f3;
    border-radius: 6px;
    width: 0%;
    transition: width 0.4s ease;
}

.psa-syringe-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.tick-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tick {
    width: 2px;
    height: 10px;
    background: #999;
}

.tick-major {
    height: 16px;
    background: #333;
}

.tick-label {
    margin-top: 3px;
    font-size: 10px;
    color: #333;
    text-align: center;
}

.psa-advanced-link {
    margin-top: 20px;
    text-align: center;
}

.psa-advanced-link a {
    color: #0073aa;
    font-weight: 600;
    text-decoration: none;
}

.psa-advanced-link a:hover {
    text-decoration: underline;
}

.psa-advanced-list {
    list-style: none;
    padding-left: 0;
    margin-top: 16px;
}

.psa-advanced-list li {
    margin-bottom: 14px;
}

.psa-advanced-list a {
    color: #0073aa;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.psa-advanced-desc {
    font-size: 0.85rem;
    color: #555;
    margin-top: 4px;
    margin-left: 4px;
}

.psa-advanced-content {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}

.psa-disclaimer {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}
