/*=============Tracking page==========*/
div#tracking_page_body_wrapper{
position:relative;
min-height:500px;
}

div#tracking_wrapper{
position:relative;
/*border:1px solid red;*/
min-height:800px;
}

div#track_div_page{
position:relative;
/*border:1px dotted red;*/
min-height:210px;
padding:20px 20px 30px 50px;
}

div#track_div_page > h1{
border-bottom:1px solid rgb(230,230,230);
padding:0px 0px 20px 0px;
margin:0px 0px 20px 0px;
position:relative;
font:24px lato_heavy;
}

div#track_div_page h1:before{
display:block;
position:absolute;
left:0px;
bottom:-10px;
content:'';
width:20px;
height:20px;
border:1px solid rgb(230,230,230);
}

div#track_div_page form{
position:relative;
display:flex;
flex-direction:row;
gap:5px;
}

div#track_div_page form span{
display:block;
/*border:1px solid red;*/
padding:0px 0px 0px 0px;
}

div#track_div_page form span:nth-child(1),div#track_div_page form span:nth-child(2){
padding:10px 0px 0px 0px;
}

div#track_div_page form span:nth-child(3){
padding:10px 0px 0px 10px;
}

div#track_div_page form span:nth-child(4){
padding:10px 0px 0px 0px;
}

div#track_div_page form label{
font:18px proxima_nova;
}

div#track_div_page form input[type="text"]{
display:block;
width:250px;
height:20px;
padding:10px;
font:18px proxima_nova;
}

div#track_div_page form input[type="submit"]{
display:block;
height:42px;
padding:10px;
width:100px;
background:#145163;
border:0px;
color:white;
border-radius:2px;
cursor:pointer;
}

div#tracking_output{
position:relative;
min-height:50px;
/*border:1px solid red;*/
}

div#tracking_output figure{
width:200px;
height:200px;
/*border:1px solid red;*/
margin:auto;
display:none;
}

div#tracking_output figure img{
display:block;
width:100%;
height:100%;
}

div#tracking_footer{
position:relative;
bottom:0px;
background:#F0EFEF;
min-height:30px;
padding:30px;
}

div#tracking_footer h1{
font:24px lato_heavy;
margin:0px 0px 10px 0px;
}

div#tracking_footer p{
margin:0px 0px 10px 0px;
font:16px lato_light;
line-height:1.5em;
}

/* ===== GENERAL ===== */
.track-card, .storage-card{
    max-width:1100px;
    margin:40px auto;
    background:#fff;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    font-family:Segoe UI, sans-serif;
}

.track-header{
    background:#145163;
    color:#fff;
    padding:20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.track-body{
    display:flex;
    gap:30px;
    padding:30px;
}

/* ===== TIMELINE ===== */
.track-timeline{
    width:40%;
    position:relative;
}

.timeline-item{
    display:flex;
    gap:15px;
    margin-bottom:25px;
}

.timeline-item .dot{
    width:14px;
    height:14px;
    background:#145163;
    border-radius:50%;
    margin-top:4px;
}

.timeline-item strong{
    display:block;
}

.timeline-item small{
    color:#777;
}

/* ===== DETAILS ===== */
.track-details{
    width:60%;
}

.progress-box{
    margin-bottom:20px;
}

.status{
    display:inline-block;
    padding:4px 12px;
    font-size:12px;
    border-radius:20px;
    color:#fff;
    margin-bottom:8px;
}

.status.in-transition{ background:#4caf50; }
.status.on-hold{ background:#f44336; }

.progress{
    height:12px;
    background:#eee;
    border-radius:20px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    background:linear-gradient(90deg,#4db6ac,#145163);
    transition:width .5s ease;
}

/* ===== MAP ===== */
.map-box{
    margin-top:25px;
}

#map{
    width:100%;
    height:280px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

/* ===== ALERT ===== */
.alert-box{
    background:#f4f8fb;
    border-left:4px solid #145163;
    padding:15px;
    border-radius:6px;
    margin-top:20px;
}

.route-box{
    display:flex;
    gap:10px;
    margin-top:20px;
    font-weight:600;
}

.route-box span{
    background:#eef2f3;
    padding:8px 12px;
    border-radius:6px;
}

.secure-note{
    margin-top:20px;
    background:#fff3cd;
    padding:12px;
    border-radius:6px;
    font-size:14px;
}

/* ===== STORAGE ===== */
.storage-card{
    padding:30px;
}

.storage-card table{
    width:100%;
    border-collapse:collapse;
}

.storage-card th,
.storage-card td{
    padding:10px;
    border-bottom:1px solid #ddd;
    font-size:14px;
}

/* ===== ERRORS ===== */
.norecord{
    width:300px;
    margin:40px auto;
    padding:10px;
    text-align:center;
    background:#ffb1a2;
    border-radius:25px;
    border:1px solid #bf0009;
}

/* ================= STORAGE MODERN UI ================= */

.storage-card {
    background:#fff;
    border-radius:10px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    margin:30px auto;
    max-width:1000px;
}

.storage-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #eee;
    padding-bottom:15px;
    margin-bottom:20px;
}

.storage-header h2 {
    font:22px lato_heavy;
}

.storage-header span {
    background:#145163;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.storage-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
}

.storage-item {
    background:#F9FAFB;
    padding:15px;
    border-radius:8px;
    border:1px solid #eee;
}

.storage-item.full {
    grid-column:1/-1;
}

.storage-item.highlight {
    background:#E8F7F7;
    border-color:#145163;
}

.storage-item label {
    display:block;
    font-size:12px;
    color:#666;
    margin-bottom:5px;
}

.storage-item p {
    font-size:15px;
    font-weight:600;
    color:#222;
}

.file-btn {
    display:inline-block;
    padding:10px 15px;
    background:#145163;
    color:#fff;
    border-radius:5px;
    text-decoration:none;
    font-size:14px;
}

.file-btn:hover {
    background:#0f3f4d;
}

.secure-note {
    margin-top:25px;
    padding:12px;
    background:#FFE57E;
    border-radius:6px;
    font-size:14px;
    text-align:center;
    border:1px solid #D67D29;
}
