.column.is-three-fifths {
    flex: 2;
}

.column {
    flex: 1;
}

#sign-up-title {
    align-items: center;
    color: #7a7a7a;
    letter-spacing: .5px;
    text-align: center !important;
    font-size: 1.25rem !important;
}

.message.is-warning {
    width: 100%;
}

.message.is-warning .message-body {
    font-size: 14px;
    color: #363636;
}

#salary-table {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#salary-table th,
#salary-table td {
    padding: 0.8rem 1.5rem;
}

#salary-table th {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#salary-table tbody tr:hover {
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

#salary-table td b {
    font-size: 1.1rem;
    color: #333;
}

#salary-table .salary-table-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
}

@media screen and (max-width: 768px) {
    #salary-table.table-container {
        overflow-x: visible;
        box-shadow: none;
    }

    #salary-table table,
    #salary-table thead,
    #salary-table tbody,
    #salary-table tr,
    #salary-table th,
    #salary-table td {
        display: block;
        width: 100%;
    }

    #salary-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    #salary-table table.table {
        background: transparent;
        border-collapse: separate;
        border-spacing: 0;
    }

    #salary-table tbody tr {
        display: grid;
        gap: 0.75rem;
    }

    #salary-table tbody tr:hover {
        background-color: transparent;
    }

    #salary-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-width: 0;
        padding: 0.95rem 1rem;
        border: 1px solid #dbdbdb;
        border-radius: 8px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
        text-align: right;
        overflow-wrap: anywhere;
    }

    #salary-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        padding-right: 1rem;
        color: rgba(0, 0, 0, 0.68);
        font-size: 0.82rem;
        font-weight: 800;
        letter-spacing: 0.05em;
    }

    #salary-table .salary-table-value {
        margin-left: auto;
        justify-content: flex-end;
    }

    #salary-table td b {
        white-space: nowrap;
    }
}

#salary-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0.8rem;
    border-left: 4px solid #5b86e5;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

#salary-heading .icon {
    color: #5b86e5;
}

#qa-workflow-list {
    margin: 1.2rem 0 0;
    padding-left: 0;
    list-style: none;
}

#qa-workflow-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
}

#new-feature {
    margin-top: 2rem;
}

.content #new-feature {
    list-style-type: none;
    margin-left: 0;
}

#new-feature li {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid #363636;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
}

#new-feature li:hover {
    transform: translateX(10px);
}

#new-feature b {
    color: #363636;
    font-size: 1.1rem;
}

.delivery-exercise-instruction {
    margin-bottom: 0.65rem;
}

.delivery-exercise-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    gap: 1.5rem;
    align-items: start;
}

.delivery-guidance {
    display: grid;
    gap: 1.25rem;
}

.delivery-rule-card,
.delivery-calculator-card {
    padding: 1.25rem;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    background: var(--card-bg);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.18);
}

.delivery-calculator-card {
    padding: 1rem;
}

.delivery-rule-card {
    position: sticky;
    top: 1rem;
}

.delivery-rule-card .title,
.delivery-calculator-card .title {
    margin-bottom: 1rem;
    color: #1f1300;
}

.delivery-calculator-card .title {
    margin-bottom: 0.65rem;
}

.delivery-rule-card p {
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.delivery-products {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.delivery-product-button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 3.35rem;
    padding: 0.5rem 0.6rem;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    background: #ffffff;
    color: #1f1300;
    cursor: pointer;
    text-align: left;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.delivery-product-button:hover,
.delivery-product-button:focus {
    background: var(--card-bg-hover);
    color: #1f1300;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.delivery-product-icon,
.delivery-product-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    background: #fffefa;
}

.delivery-product-button[data-product-id="pizza"] .delivery-product-icon {
    background: #ffe3d0;
    color: #a53b18;
    border-color: #f38b56;
}

.delivery-product-button[data-product-id="cookie"] .delivery-product-icon {
    background: #f4e0c3;
    color: #7c4a19;
    border-color: #c8904d;
}

.delivery-product-button[data-product-id="coffee"] .delivery-product-icon {
    background: #dff4ff;
    color: #11698e;
    border-color: #62b7d6;
}

.delivery-product-add {
    width: 1.7rem;
    height: 1.7rem;
    background: #1f1f1f;
    color: #ffffff;
}

.delivery-product-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.delivery-product-name {
    font-weight: 700;
}

.delivery-product-price {
    color: #5b5b5b;
    font-size: 0.86rem;
    font-weight: 700;
}

.delivery-cart-summary {
    display: grid;
    gap: 0.5rem;
    margin: 0.7rem 0 0.85rem;
    padding: 0.7rem;
    border: 1px solid #d7ccb6;
    border-radius: 8px;
    background: #fffefa;
}

.delivery-cart-summary > div:first-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.delivery-cart-label {
    color: #5b5b5b;
    font-weight: 700;
}

#delivery-cart-total {
    color: #1f1300;
    font-size: 1.25rem;
}

.delivery-cart-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.delivery-cart-items > span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.4rem 0.18rem 0.24rem;
    border: 1px solid #d7ccb6;
    border-radius: 999px;
    background: #ffffff;
    color: #1f1300;
    font-size: 0.86rem;
    font-weight: 700;
}

.delivery-cart-items > span i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
}

.delivery-cart-item-pizza {
    border-color: #f38b56;
    background: #fff0e8;
    color: #a53b18;
}

.delivery-cart-item-pizza i {
    background: #ffe3d0;
}

.delivery-cart-item-cookie {
    border-color: #c8904d;
    background: #fbefd8;
    color: #7c4a19;
}

.delivery-cart-item-cookie i {
    background: #f4e0c3;
}

.delivery-cart-item-coffee {
    border-color: #62b7d6;
    background: #eaf8ff;
    color: #11698e;
}

.delivery-cart-item-coffee i {
    background: #dff4ff;
}

#delivery-cart-error:empty {
    display: none;
}

#delivery-calculate-button {
    border-radius: 8px;
}

.delivery-result {
    margin-top: 0.85rem;
    padding: 0.75rem;
    border: 1px solid #d7ccb6;
    border-radius: 8px;
    background: #fffefa;
}

.delivery-result p {
    margin-bottom: 0.35rem;
}

.delivery-result p:last-child {
    margin-bottom: 0;
}

.help.is-danger {
    color: #a5232f;
    font-weight: 800;
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .delivery-exercise-layout {
        grid-template-columns: 1fr;
    }

    .delivery-rule-card {
        position: static;
    }

    .delivery-rule-card,
    .delivery-calculator-card {
        padding: 1rem;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
    }
}

#testing-task-steps .box {
    border: 2px solid #363636;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #363636;
    background-color: #fffefa;
    transition: transform 0.2s ease;
    height: 100%;
}

#testing-task-steps .box:hover {
    transform: translateY(-2px);
}

#testing-task-steps .icon-text {
    display: inline;
}

.code-example {
    font-size: 0.9rem;
    margin-top: 0.8rem;
}
