/* General Styling */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', sans-serif;
}

body {
	height: 100vh;
    width: 100vw;
}

.container {
	display: flex;
    width: 100%;
    height: 100%;
}

h1, h2, button{
	font-family: 'Poppins', sans-serif;
}
label, p, li, strong, span{
	font-family: 'Inter', sans-serif;
}

/* Left Section - Form */
.left-section {
    position: relative;
    width: 50%;
	background-color: #fff;
	padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: auto;
}

.left-section::-webkit-scrollbar {
	width: 5px;
}

.left-section::-webkit-scrollbar-thumb {
	background: #D9DCD6;
	border-radius: 3px;
}

/* Right Section - Image */
.right-section {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: #004899; /* Fallback color */
    color: #fff;
    text-align: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 0 4% 4% 0;
    z-index: 1;
    overflow: hidden;
}

/* Background image with opacity */
.right-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/banner.webp') no-repeat center center/cover;
    opacity: 0.5; /* Adjust transparency */
    border-radius: 0 4% 4% 0;
    z-index: -1;
}

/* Overlapping Cut Effect - Desktop (Right Side) */
.right-section::after {
    content: "";
    position: absolute;
    right: -40px; /* Moves the cut inside */
    top: 4%;
    bottom: 4%;
    width: 60px; /* Controls how deep the cut is */
    background: #fff;
    border-top-left-radius: 40px; 
    border-bottom-left-radius: 40px;
}

.right-section .logo a img {
    width: 450px;
}

.right-section h2 {
    color: #fff;
    text-align: center;
    font-size: 25px;
    margin: 0 auto;
}

h1 {
	text-align: center;
	font-size: 23px;
	color: #004899;
    padding-bottom: 15px;
}

h2 {
    width: 100%;
	max-width:400px;
    text-align: left;
	font-size: 17px;
	color: #004899;
    padding-top: 10px;
}

.tracking-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-section {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
	width: 100%;
	max-width:500px;
    padding: 0;
}

.input-section input {
	width: 100%;
    max-width: 400px;
	padding: 8px 10px;
	border: 1px solid #ddd; /* Softer border color */
	border-radius: 5px; /* Slightly more rounded for a modern feel */
	font-size: 16px;
	outline: none; /* Removes the default outline */
	background-color: #fff; /* White background for clarity */
	color: #333; /* Dark text for readability */
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Softer shadow for depth */
	transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transitions */
    margin: 20px 0;
}

.input-section input:focus {
	border-color: #2F6690; /* Blue border on focus */
	box-shadow: 0 0 0 2px rgba(47, 102, 144, 0.1); /* Soft focus glow */
	outline: none; /* Removes default outline on focus */
}

.input-section button {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
    background: #ff9800;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.5s ease;
    font-size: 13px;
    display: flex;
	justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

.input-section button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
	transform: translateY(-1px); /* ✅ Lift effect on hover */
}

#trackingContent {
    display: none;
    margin-top: 50px;
    border-top: 2px solid #ccc;
    width: 100%;
    max-width: 400px;
}

/* Ship To/From Section */
.shipping-info {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    font-size: 14px;
    margin: 20px 0;
    padding-top: 10px;
}

.location {
    font-weight: bold;
    font-size: 14px;
}

.arrow {
    display: inline-block;
    width: 20px; /* Adjust length */
    height: 2px;
    background-color: #333;
    position: relative;
    margin: 0 10px;
}

.arrow::after {
    content: " ";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 0; 
    height: 0; 
    border-left: 6px solid #333;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Courier */
.courier-info {
    font-size: 14px;
    margin: 20px 0;
    padding-bottom: 5px;
}

/* Weight */
.weight-info {
    font-size: 14px;
    margin: 20px 0;
    padding-bottom: 35px;
    border-bottom: 2px solid #ccc;
}

/* Timeline */
.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Timeline Item */
.timeline-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* Circle & Line Wrapper */
.circle-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    position: relative;
}

/* Circles */
.circle {
    width: 22px;
    height: 22px;
    background: #004899;
    border-radius: 50%;
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
}

/* Different Status Colors */
.timeline-item.completed .circle {
    background: #004899;
}

.timeline-item.active .circle {
    background: #004899;
    border: 4px solid #fff;
}

.timeline-item.pending .circle {
    background: #ccc;
    border: 4px solid #fff;
}

.timeline-item.error .circle {
    background: #ff3333;
    border: 4px solid #fff;
}

/* Lines */
.line {
    width: 5px;
    height: 80px;
    background: #004899;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
}

/* Hide Last Line */
.timeline-item:last-child .line {
    display: none;
}

/* Pending Status Line */
.timeline-item.active .line,
.timeline-item.pending .line {
    background: #ccc;
}

/* Details */
.details {
    text-align: left;
    flex-grow: 1;
    padding: 20px 0;
}

.status {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    display: block;
    transition: color 0.3s ease;
}

.info, .date-time {
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 5px; /* Adds spacing */
}

/* View Details */
.view-details {
    display: block;
    margin-top: 10px;
    color: #004899;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
}
















/*------------------------- Use a media query to add a breakpoint at 800px: -------------------------*/
/* Responsive Design */

@media screen and (max-width: 982px) {
	.container {
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    .left-section, .right-section {
        width: 100%;
        overflow: visible;

    }
    .right-section {
        border-radius: 0 0 6% 6%;
        justify-content: center;
        padding: 0 0 15px 0;
        min-height: 230px;
    }
    .right-section::after {
        right: auto;
        left: 50%;
        bottom: -40px;
        top: auto;
        transform: translateX(-50%);
        width: 90%;
        height: 50px;
        background: white;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    .right-section h2 {
        display: none;
    }
    .right-section .logo a img {
        width: 350px;
    }
    .right-section p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
	
}