:root {
    --bt-font-family: 'Ubuntu', serif;
    --bt-primary-color: #e31837;
    --bt-text-color: #222;
    --bt-table-color: #1c1819;
    --bt-subtext-color: #322c1f;
    --bt-var1-color: #edebeb;
    --bt-var2-color: white;
    --bt-var3-color: black;
}

.bt__boxes_tracker {
    font-family: var(--bt-font-family);
    max-width: 470px;
    min-height: 50vh;
    margin: auto;
    color: var(--bt-text-color);

    .bt__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        
        .bt__main_title {
            font-size: 42px;
            line-height: 1.1;
            margin-bottom: 40px;
            position: relative;
            font-weight: 700;
            
            &.bt__text_underground {
                color: var(--bt-text-color);
                position: relative;
                padding-bottom: 17px;
                display: inline-block;
            }
        }
    }

    .bt__text_underground {
        &::after {
            content: '';
            background: url("./../img/ribbon.svg") no-repeat center bottom;
            background-size: 100% 11px;
            height: 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
        }
    }

    .bt__form {
        display: flex;
        flex-direction: column;
        width: 100%;
        
        label {
            color: var(--bt-subtext-color);
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: 400;
        }

        .bt__input_container {
            display: flex;
            align-items: center;
            gap: 0;

            .bt_tracking_number {      
                font-weight: 400;
                background-color: var(--bt-var1-color);
                padding: 0 8px;
                color: var(--bt-subtext-color);
                font-size: 14px;
                box-shadow: none;
                height: 38px;
                line-height: 38px;
                width: 100%;
                max-width: 100%;
                border: none;
                border-radius: 0;

                &:focus, &:focus-visible {
                    outline: none;
                }

                &::placeholder {
                    color: var(--bt-subtext-color);
                }
            }

            .bt__button {
                height: 38px;
                aspect-ratio: 1;
                margin: 0;
                
                svg {
                    width: 10px;
                    fill: var(--bt-var2-color);
                }
            }
        }
    }

    .bt__tracking-wrapper {
        max-width: 700px;
        margin: 20px auto;
    }

    .bt__button {
        display: inline-block;
        background: var(--bt-primary-color);
        color: var(--bt-var2-color);
        padding: 0.5em 1em;
        text-decoration: none;
        font-weight: bold;
        border: none;
        transition: all .2s ease-in;

        &:hover {
            background: var(--bt-var3-color);
        }

        &:focus {
            background: var(--bt-primary-color) !important;
        }
    }

    .bt__summary {
        margin-top: 20px;
        margin-bottom: 40px;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;

        p {
            font-size: 20px;
            color: var(--bt-primary-color);
            display: flex;
            flex-direction: column;
            width: calc(50% - 0.5rem);
            margin: 0;

            span {
                font-size: 16px;
                color: var(--bt-subtext-color);
            }

        }
    } 

    .bt__events-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;

        th, td {
            border-bottom: 1px solid var(--bt-var1-color);
            padding: 10px;
            text-align: left;
            color: var(--bt-table-color);
            font-size: 16px;
        }

        th {
            text-transform: uppercase;
            font-weight: 300;
        }

        td {
            font-weight: 400;
            width: 50%;
        }
    }
    
    .bt__title_response {
        font-size: 26px;
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 700;
        letter-spacing: .025em;
        color: var(--bt-var3-color);
        margin-top: 0;
    }
}