/*
=========================================
FILAPUENTE CARD
VERSION 7
APP STYLE
=========================================
*/

#fp-card{
    width:100%;
    max-width:900px;
    margin:0 auto;
    font-family:Arial,Helvetica,sans-serif;
}

.fp-card{
    background:#f3f4f6;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}

.fp-card-hero{
    height:520px;
    background-size:cover;
    background-position:center;
    position:relative;
}

.fp-card-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,.00) 0%,
        rgba(0,0,0,.10) 35%,
        rgba(255,255,255,.00) 55%,
        rgba(243,244,246,.95) 85%,
        rgba(243,244,246,1) 100%
    );
}

.fp-card-title{
    position:absolute;
    left:30px;
    right:30px;
    bottom:145px;
    color:#ffffff;
    font-size:60px;
    font-weight:900;
    text-align:center;
    text-shadow:0 4px 12px rgba(0,0,0,.75);
    z-index:5;
}

.fp-card-location{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:95px;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(8px);
    color:#ffffff;
    font-size:22px;
    font-weight:700;
    text-align:center;
    padding:12px 24px;
    border-radius:999px;
    z-index:5;
    white-space:nowrap;
}

.fp-card-tabs{
    position:absolute;
    left:20px;
    right:20px;
    bottom:15px;
    display:flex;
    flex-wrap:nowrap;
    gap:12px;
    z-index:10;
    background:#ffffff;
    padding:10px;
    border-radius:26px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.fp-tab{
    flex:1;
    min-width:0;
    white-space:nowrap;
    border:none;
    border-radius:18px;
    background:#ffffff;
    color:#475569;
    padding:18px 14px;
    font-size:20px;
    font-weight:800;
    cursor:pointer;
}

.fp-tab.active{
    background:#2563EB;
    color:#ffffff;
}

.fp-card-body{
    background:#ffffff;
    margin:35px 20px 20px 20px;
    padding:40px;
    border-radius:24px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.fp-card-label{
    color:#001c38;
    font-size:40px;
    font-weight:800;
    margin-bottom:30px;
}

.fp-card-time{
    margin-top:10px;
}

.fp-card-number{
    color:#001c38;
    font-size:220px;
    font-weight:900;
    line-height:.9;
}

.fp-card-unit{
    color:#2563EB;
    font-size:90px;
    font-weight:900;
}

.fp-card-status{
    width:fit-content;
    margin:25px auto 0 auto;
    padding:18px 30px;
    border-radius:999px;
    background:#dff2e8;
    color:#166534;
    font-size:30px;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:12px;
}

.fp-card-dot{
    width:22px;
    height:22px;
    border-radius:50%;
    display:block;
}

.fp-card-lanes{
    margin-top:24px;
    color:#2563EB;
    font-size:28px;
    font-weight:800;
}

.fp-card-map-button{
    display:block;
    margin-top:30px;
    background:#2563EB;
    color:#ffffff;
    text-decoration:none;
    font-size:26px;
    font-weight:800;
    text-align:center;
    padding:18px;
    border-radius:18px;
    box-shadow:0 4px 12px rgba(37,99,235,.30);
}

.fp-card-map-button:hover{
    color:#ffffff;
}

.fp-card-footer{
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid #e5e7eb;
    text-align:center;
}

.fp-card-footer-title{
    color:#001c38;
    font-size:20px;
    font-weight:800;
}

.fp-card-footer-text{
    color:#2563EB;
    font-size:22px;
    font-weight:900;
}

/* TABLET */

@media(max-width:768px){

    #fp-card{
        max-width:560px;
    }

    .fp-card-hero{
        height:420px;
    }

    .fp-card-title{
        font-size:46px;
    }

    .fp-card-location{
        font-size:18px;
    }

    .fp-card-number{
        font-size:160px;
    }

    .fp-card-unit{
        font-size:70px;
    }

    .fp-card-lanes{
        font-size:24px;
    }

}

/* MOVIL */

@media(max-width:480px){

    #fp-card{
        width:100vw;
        max-width:100vw;
        margin-left:calc(50% - 50vw);
        margin-right:calc(50% - 50vw);
    }

    .fp-card{
        border-radius:0;
    }

    .fp-card-hero{
        height:340px;
            border-radius:0px;
        
        
    }

    .fp-card-title{
        font-size:34px;
        bottom:145px;
    }

    .fp-card-location{
        bottom:105px;
        font-size:16px;
        padding:10px 18px;
        max-width:85%;
    }

    .fp-card-tabs{
        left:5px;
        right:5px;
        bottom:5px;
        gap:8px;
        padding:5px;
    }

    .fp-tab{
        font-size:15px;
        padding:14px 4px;
    }

    .fp-card-body{
        margin:25px 15px 15px 15px;
        padding:25px;
    }

    .fp-card-label{
        font-size:22px;
    }

    .fp-card-time{
        display:flex;
        justify-content:center;
        align-items:flex-end;
        gap:6px;
        flex-wrap:nowrap;
        white-space:nowrap;
    }

    .fp-card-number{
        font-size:95px;
    }

    .fp-card-unit{
        font-size:42px;
        margin-bottom:10px;
    }

    .fp-card-status{
        font-size:18px;
        padding:14px 22px;
    }

    .fp-card-lanes{
        font-size:20px;
    }

    .fp-card-map-button{
        font-size:18px;
        padding:16px;
    }

    .fp-card-footer-title{
        font-size:17px;
    }

    .fp-card-footer-text{
        font-size:19px;
        font-weight:900;
    }

}