*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"poppins",sans-serif;
}
body{
           
    background-color: #49bc85;
    background:linear-gradient(to right,#6ec39a,#49bc85);
}


/* ===== Premium Auth Header ===== */

  .tracking-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 30px 15px 0 15px; /* Added horizontal padding */
    position: relative;
}

.tracking-header h1 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 5px;
}

.tracking-header h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* Update back-arrow to match order_history.php exactly */
.back-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    color: #49bc85;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
}

.back-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.05);
    color: #3a9d6d;
}

.back-arrow i {
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.back-arrow:hover i {
    transform: translateX(-3px);
}

/* Mobile */
@media (max-width: 480px) {
    .tracking-header {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .back-arrow {
        width: 40px;
        height: 40px;
    }
    
    .tracking-header h1 {
        font-size: 1.5rem;
    }
}



.container{
    background:#fff;
    width:450px;
    padding:1.5rem;
    margin:50px auto;
    border-radius:10px;
    box-shadow:0 20px 35px rgba(0,0,1,0.9);
}
form{
    margin:0 2rem;
}
.form-title{
    font-size:1.5rem;
    font-weight:bold;
    text-align:center;
    padding:1.3rem;
    margin-bottom:0.4rem;
}
input{
    color:inherit;
    width:100%;
    background-color:transparent;
    border:none;
    border-bottom:1px solid #757575;
    padding-left:1.5rem;
    font-size:15px;
}
.input-group{
    padding:1% 0;
    position:relative;

}
.input-group i{
    position:absolute;
    color:black;
}
input:focus{
    background-color: transparent;
    outline:transparent;
    border-bottom:2px solid #07001f;
}
input::placeholder{
    color:transparent;
}
label{
    color:#757575;
    position:relative;
    left:1.2em;
    top:-1.3em;
    cursor:auto;
    transition:0.3s ease all;
}
input:focus~label,input:not(:placeholder-shown)~label{
    top:-3em;
    color:#07001f;
    font-size:15px;
}
.recover{
    text-align:right;
    font-size:1rem;
    margin-bottom:1rem;

}
.recover a{
    text-decoration:none;
    color: #49bc85;
}
.recover a:hover{
    color:#07001f;
    text-decoration:underline;
}
.btn{
    font-size:1.1rem;
    padding:8px 0;
    border-radius:5px;
    outline:none;
    border:none;
    width:100%;
    background:#49bc85;
    color:white;
    cursor:pointer;
    transition:0.9s;
}
.btn:hover{
    background:#07001f;
}
.or{
    font-size:1.1rem;
    margin-top:0.5rem;
    text-align:center;
}
.links{
    display:flex;
    justify-content:space-around;
    padding:0 4rem;
    margin-top:0.9rem;
    font-weight:bold;
}
button{
    color:#49bc85;
    border:none;
    background-color:transparent;
    font-size:1rem;
    font-weight:bold;
}
button:hover{
    text-decoration:underline;
    color:#07001f;
}

#error-message {
    display: block;
    color: #dc3545; /* Red color for errors */
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8d7da; /* Light red background */
    border: 1px solid #f5c6cb; /* Border color */
    border-radius: 5px; /* Rounded corners */
    text-align: left; /* Align text to the left */
    position: relative; /* For positioning the icon */
    padding-left: 40px; /* Space for the icon */
}

#error-message i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545; /* Red color for the icon */
}

#success-message {
    display: block;
    color: #28a745; /* Green color for success */
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background-color: #d4edda; /* Light green background */
    border: 1px solid #c3e6cb; /* Border color */
    border-radius: 5px; /* Rounded corners */
    text-align: left; /* Align text to the left */
    position: relative; /* For positioning the icon */
    padding-left: 40px; /* Space for the icon */
}

#success-message i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745; /* Green color for the icon */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 80%; /* Make the container take up 90% of the screen width */
        margin: 40px auto; /* Reduce top margin for smaller screens */
        padding: 1rem; /* Reduce padding for smaller screens */
    }

    .form-title {
        font-size: 1.3rem; /* Reduce font size for smaller screens */
        padding: 1rem; /* Adjust padding */
    }

    .input-group {
        padding: 0.5rem 0; /* Reduce padding for input groups */
    }

    input {
        font-size: 14px; /* Reduce font size for inputs */
    }

    label {
        font-size: 14px; /* Reduce font size for labels */
    }

    .btn {
        font-size: 1rem; /* Reduce font size for buttons */
        padding: 6px 0; /* Adjust button padding */
    }

    .or {
        font-size: 1rem; /* Reduce font size for the "or" text */
    }


    .links {
        padding: 0 2rem; /* Adjust padding for links */
        font-size: 0.9rem; /* Reduce font size for links */
    }

    button {
        font-size: 0.9rem; /* Reduce font size for buttons */
    }
}

@media (max-width: 480px) {
    .container {
        width: 80%; /* Make the container take up the full width */
        margin: 40px auto; /* Further reduce top margin */
        padding: 0.8rem; /* Further reduce padding */
    }

    .form-title {
        font-size: 1.2rem; /* Further reduce font size */
    }

    .input-group {
        padding: 0.3rem 0; /* Further reduce padding */
    }

    input {
        font-size: 13px; /* Further reduce font size */
    }

    label {
        font-size: 13px; /* Further reduce font size */
    }

    .btn {
        font-size: 0.9rem; /* Further reduce font size */
        padding: 5px 0; /* Further adjust button padding */
    }

    .or {
        font-size: 0.9rem; /* Further reduce font size */
    }

    .links {
        padding: 0 1rem; /* Further adjust padding */
        font-size: 0.8rem; /* Further reduce font size */
    }

    button {
        font-size: 0.8rem; /* Further reduce font size */
    }
}