/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* tracking form shortcode */
/* declare variables */
:root {
    --tnx-main-color: #BF1E2E;
    --tnx-light-color: #fafafa;
    --tnx-border-color: #eee;
}

.track-shipment-container {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.track-shipment-container h3 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#track-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    max-width: 100%;
}

#tracking-number {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
    flex-grow: 1;
    outline: none;
    box-sizing: border-box;
}

#track-form button {
    background-color: #bf1d2f;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
}

#track-form button:hover {
    background-color: #fff;
    color: #272262;
}

@media screen and (max-width: 420px) {
    #track-form{
        flex-direction: column;
        align-items: center;
    }
 
}

/* tracking shortcode */
 .spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    width: 100%;
    padding: 0 0px;
    border-radius: 8px;
}


.spec-item {
    display: flex;
    justify-content: flex-start;
    padding: 2px 16px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    background-color: #fafafa;
}

.spec-item:first-child {
    border-radius: 8px 8px 0 0;
}

.spec-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.spec-item:nth-child(odd) {
    background-color: #f5f5f5;
}

.spec-label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    min-width: 200px;
    padding-left: 20px;
}

.spec-value {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spec-wraper {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-direction: row;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spec-wraper{
        flex-direction: column!important;
        gap: 10px;
    }
    .spec-item {
        flex-direction: row;
        padding: 12px;
    }

    .spec-label {
        min-width: auto;
        margin-bottom: 4px;
        font-size: 13px;
    }

    .spec-value {
        font-size: 13px;
    }
}




@media (max-width: 480px) {
    .spec-item {
        display: flex;
        padding: 10px 8px;
        justify-content: space-evenly;
    }

    .spec-label {
        font-size: 12px;

    }

    .spec-value {
        font-size: 12px;
    }
}