
.disposal-calculator {
    background: #fff;
    border-radius: 1.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: visible;
    padding: 24px;
}

.dc-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.dc-step {
    align-items: center;
    background: #f5f6f8;
    border: 1px solid #e2e6ee;
    border-radius: 1.8rem;
    color: #6b7280;
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    transition: all 0.2s ease-in-out;
}

.dc-step .fa {
    font-size: 18px;
}


.dc-step.is-complete {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #075985;
}

.dc-step__label {
    font-weight: 600;
    margin: 0;
}

.dc-step.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #f4d866;
}

.dc-step.is-active .dc-step__label {
    color: #f4d866;
}

.dc-step.is-complete .dc-step__status {
    display: inline-block;
}

.dc-step__status {
    background: #0ea5e9;
    border-radius: 999px;
    color: #fff;
    display: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 8px;
    text-transform: uppercase;
}

.dc-body {
    display: flex;
    gap: 20px;
    flex-direction: row;
    min-height: 580px;
}

.dc-left {
    flex: 3;
}

.dc-right {
    font-size: 16px;
    color: white;
    height: fit-content;
    flex: 1;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    border-radius: 1.8rem;
    transform: translate(18%, 10%) scale(129%);
    padding: 40px 24px 24px 24px;
    border: solid 0.2rem #ecf3ff;
    background: linear-gradient(160deg, #46C2E7, #1E81BB);
    box-shadow: 2px 4px 8px 0 rgba(101, 101, 101, 0.4), inset 2px 2px 8px 0 rgb(176, 237, 255), inset -2px -2px 8px 0 #094969;
}

.dc-panel {
    display: none;
}

.dc-panel.is-active {
    display: block;
}

.dc-panel h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.dc-fields {
    display: grid;
    gap: 12px;

}

.dc-fields--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dc-fields--half {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


.dc-field {
    margin-bottom: 20px;
    margin-top: 10px;
}

.dc-field--full {
    grid-column: 1 / -1;
}


.dc-field label {
    color: #111827;
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.dc-piece-label {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    margin-bottom: 8px;
    width: 100%;
}

.dc-piece-label img {
    display: block;
    max-height: 48px;
    width: auto;
}

.dc-field input,
.dc-field select,
.dc-field textarea {
    background: #ffffff;
    border: 1px solid #cbd5f5;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 15px;
    padding: 10px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
    height: auto;
}

.dc-field input:focus,
.dc-field select:focus,
.dc-field textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    outline: none;
    transform: translateY(-1px);
}

.dc-field select {
    background-color: #ffffff;
}

.dc-field select option {
    background: #ffffff;
    color: #0f172a;
}

.dc-date-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dc-date-item {
    align-items: stretch;
    display: flex;
    gap: 4px;
}

.dc-date-item input {
    flex: 1;
    min-width: 0;
}

.dc-date-item .dc-button {
    font-size: 16px;
    height: auto;
    justify-content: center;
    min-width: 44px;
    padding: 0 14px;
}

.dc-date-item .dc-button.dc-button--danger {
    border-radius: 12px;
}

.dc-field input#service-piece {
    width: 160px
}

.dc-piece-input {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dc-piece-box-size {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}


.dc-footer {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 16px;
}

.dc-footer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-left: auto;
}

.dc-actions {
    display: flex;
    gap: 10px;
}

.dc-actions[data-primary-actions] {
    display: none;
}

.dc-actions[data-primary-actions].is-visible {
    display: flex;
}

.dc-actions[data-final-actions] {
    display: none;
}

.dc-actions[data-final-actions].is-visible {
    display: flex;
}

.dc-actions[data-primary-actions] .btn-primary {
    display: none;
}

.dc-actions[data-primary-actions] .btn-primary.is-visible {
    display: inline-flex;
}

.dc-button {
    align-items: center;
    background: #0f172a;
    border: none;
    border-radius: 1.8rem;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
    padding: clamp(0.4rem, 1vw, 1.4rem) clamp(1.4rem, 2.2vw, 2rem);
}

.dc-button.secondary {
    background: #e5e7eb;
    color: #111827;
}

.dc-button.dc-button--danger {
    background: #dc2626;
    color: #fff;
    padding: 0.4rem 0.4rem;
}

.dc-button.dc-button--success {
    background: #16a34a;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-top: 20px;
}

.dc-button.dc-button--success span {
    font-size: 22px;
    font-weight: 600;
}

.dc-button:hover {
    background: #1e293b;
}

.dc-button.secondary:hover {
    background: #d1d5db;
}

.dc-button.dc-button--danger:hover {
    background: #b91c1c;
}

.dc-button.dc-button--success:hover {
    background: #15803d;
}

.dc-button[hidden] {
    display: none !important;
}


.price-line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    max-height: 4rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
}

.price-line.is-hidden {
    border-bottom: none;
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
}

.price-line:not(:last-child) {
    border-bottom: thin dotted #e5e7eb;
}

.price-left {
    font-size: 16px;
    line-height: 19px;
}

.price-right {
    text-align: right;
    color: #ffe786;
    white-space: nowrap;
}

.price-right span {
    display: inline;
}


.prices-and-taxes {
    font-weight: bold;
}

.total-price-lines {
    margin-top: 20px;
    padding-top: 10px;
}

.total-price-lines .price-left, .total-price-lines .price-right {
    font-weight: bold;
    font-size: 18px;
}


.discount {
    font-weight: bold;
}

#discount {
    color: #57ffba;
}

.currency--discount {
    color: #57ffba;
}

.dc-summary {
    display: flex;
    gap: 40px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dc-summary .dc-summary-right {
    flex-basis: 400px;
}

.dc-summary h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 0;
}

.dc-summary p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0;
    font-weight: bold;
    padding: 0;
}

.dc-summary p#summery-notes, .dc-summary p#summery-contact-notes {
    font-weight: normal;
    font-style: italic;
}

.dc-summary p > span {
    font-weight: normal;
}


@media (max-width: 768px) {
    .dc-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dc-body {
        flex-direction: column;
    }

    .dc-right {
        transform: none;
        width: 100%;
    }
}
