/* Packaging & Storage Styles */
.packaging-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    font-family: var(--font-family, 'Inter', sans-serif);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color, #E5E7EB);
    background: #F9FAFB;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    text-align: center;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #374151;
}

.tab-btn.active {
    background: #fff;
    color: #2563EB;
    border-bottom: 2px solid #2563EB;
}

.tab-content {
    display: none;
    padding: 32px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B5563;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.input-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.input-control:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dim-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dim-inputs input {
    width: 80px;
    text-align: center;
}

.dim-inputs span {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 500;
}

.weight-input {
    display: flex;
    align-items: center;
}

.weight-input input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.weight-toggle {
    padding: 10px 16px;
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    border-left: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    outline: none;
    transition: background 0.2s;
}

.weight-toggle:hover {
    background: #E5E7EB;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563EB;
}

.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.calculate-btn:hover {
    background: #374151;
}

.result-card {
    margin-top: 32px;
    padding: 24px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: none;
}

.result-card.show {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.result-header {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-cost {
    font-size: 1.75rem;
    color: #2563EB;
    font-weight: 700;
}

.breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #E2E8F0;
    padding-top: 16px;
}

.breakdown-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 10px;
}

.breakdown-list li span:last-child {
    font-weight: 600;
    color: #1E293B;
}

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