/* Wrapper */
.tracking-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Open Sans', sans-serif; /* Fallback to standard if not loaded */
    padding: 0 20px;
}

/* Header Section */
.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tracking-title {
    margin: 0;
    font-size: 32px;
    font-weight: 300;
    color: #444; /* Slightly lighter than black, elegant gray */
}

.location-selector {
    font-size: 14px;
    color: #4a6285; /* Muted blue from image */
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
}

.location-selector:hover {
    text-decoration: underline;
}

/* Tabs */
.tracking-tabs {
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

.tracking-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 16px;
    color: #888; /* Inactive text */
    border-bottom: 1px solid #ddd;
    background-color: transparent; /* Match image background */
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
}

.tracking-tab.active {
    border-bottom: 3px solid #4a6285; /* Match color */
    color: #333;
    font-weight: 600;
}

.tab-icon {
    margin-right: 10px;
    font-size: 18px;
    color: #888;
}
.tracking-tab.active .tab-icon {
    color: #333;
}

/* Gray Section Body */
.tracking-section-gray {
    background-color: #f3f3f3; /* Light grey background */
    padding: 40px;
    text-align: center;
    border-radius: 0 0 4px 4px; /* Slight rounded bottom corners if desired */
}

.tracking-instruction {
    font-size: 18px; /* Slightly larger instructions */
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}

/* White Content Box removed in favor of direct input on gray background as per image */
.tracking-content-box {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px;
}

/* Visual Input */
.mtcn-input-group {
    margin-bottom: 40px;
}

.mtcn-visual-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mtcn-real-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: text;
    font-size: 1px;
}

.mtcn-display {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    pointer-events: none;
}

.mtcn-digit-box {
    width: 30px;
    margin: 0 8px; /* More spacing */
    border-bottom: 1px solid #999; /* Thinner line */
    font-size: 28px;
    color: #444;
    text-align: center;
    padding-bottom: 5px;
    height: 40px;
    transition: border-color 0.3s;
    font-family: 'Open Sans', sans-serif; /* Match body font, not monospace */
    font-weight: 300;
}

.mtcn-digit-box.active {
    border-bottom-color: #4a6285;
    border-bottom-width: 2px;
}

.mtcn-digit-box.filled {
    border-bottom-color: #666;
}

.mtcn-dash-separator {
    width: 20px;
    text-align: center;
    color: #999;
    font-size: 28px;
    padding-bottom: 5px;
    margin: 0 5px;
    font-weight: 300;
}

/* Error Message */
.tracking-error {
    color: #d9534f;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Continue Button */
.continue-btn {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    background-color: #3b4d61; /* Dark Slate Blue/Gray from image */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 400; /* Regular weight */
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 0.5px;
}

.continue-btn:hover {
    background-color: #2c3a49;
}

/* Link */
.cant-find-link {
    color: #4a6285;
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
}

.cant-find-link:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .mtcn-digit-box {
        width: 20px;
        font-size: 18px;
        margin: 0 2px;
    }
    .mtcn-dash-separator {
        width: 10px;
    }
    .tracking-content-box {
        padding: 20px;
    }
    .tracking-section-gray {
        padding: 20px;
    }
}
