/* Peptide Calculator Styles */
.pep-calc-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px 0;
}

.pep-calc-container {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pep-calc-field {
    margin-bottom: 20px;
}

.pep-calc-field label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pep-select-wrapper {
    position: relative;
}

.pep-select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}

.pep-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #333;
    transition: all 0.2s ease;
}

.pep-select:hover {
    border-color: #9ca3af;
}

.pep-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pep-calc-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: #1e293b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.pep-calc-btn:hover {
    background-color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.pep-calc-btn:active {
    transform: translateY(0);
}

.pep-result-container {
    margin-top: 24px;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pep-result-heading {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pep-result-text {
    font-size: 14px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pep-bar-wrapper {
    margin-bottom: 8px;
}

.pep-bar-track {
    width: 100%;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}

.pep-bar-fill {
    height: 100%;
    background-color: #1f2937;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    position: relative;
}

.pep-bar-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    padding: 0 2px;
}

.pep-bar-scale span {
    font-size: 10px;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pep-units-text {
    text-align: center;
    font-size: 14px;
    color: #374151;
    margin-top: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .pep-calc-container {
        padding: 20px 16px;
    }
    
    .pep-calc-field label {
        font-size: 13px;
    }
    
    .pep-select {
        font-size: 14px;
        padding: 10px 36px 10px 14px;
    }
    
    .pep-calc-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}
