@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

body {
    background-color: #f8f667;
    font-family: 'Poppins', sans-serif;
    color: #111;
}


.hero {
    /*background-image: url(css/images/map.png);*/
    background-image: url('images/map.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    background-color: #fff;
    border-bottom: 2px solid #fffc7f;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #111 !important;
}

.search-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-snap {
    background-color: #000;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-snap:hover {
        background-color: #f8f667;
    }

.section-title {
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.destination-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

    .destination-card:hover {
        transform: scale(1.03);
    }

footer {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    margin-top: 3rem;
    border-top: 2px solid #fffc7f;
}


.navbar {
    background-color: #fff;
    border-bottom: 2px solid #fffc7f;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #111 !important;
}

.search-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-snap {
    background-color: #000;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-snap:hover {
        background-color: #f8f667;
    }

.section-title {
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.destination-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

    .destination-card:hover {
        transform: scale(1.03);
    }

footer {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    margin-top: 3rem;
    border-top: 2px solid #fffc7f;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcu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Q3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.navbutton {
    background-color: white; /* Very light grey */
    border-style: solid;
    border-width: 1px;
    border-radius: 6px;
    border-color: #dbdbdb;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
}

    .navbutton:active {
        transform: scale(0.95); /* Slight depression effect */
    }




    /*JourneyPlannerCSS*/

.stationfinder{
    display:flex;
    flex-direction:row;
}

.jpservicecontainer {
    display: flex;
    flex-direction: column;
    /*border-style: solid;*/
    border-width: 1px;
    border-radius: 8px;
    padding: 8px;
    border-color: black;
    width: fit-content;
    min-width: 170px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
}

.jpserviceheader {
    display: flex;
    flex-direction: column;
}

.headercontainer {
    display: flex;
    flex-direction: row;
}

.serviceheaderlabel {
}

.originlabel {
}

.destinationlabel {
}

.terminateslabel {
}


.journeycontainer {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 10px;
}

.innercontainer {
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    border-color: black;
    padding: 10px;
    margin-bottom: 10px;
}

.serviceheader {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.serviceheaderlabel {
    font-size: 1.4rem;
    font-weight: bold;
    color: black;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


.serviceline {
    width: fit-content;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    display: flex;
    flex-direction: row;
    background-color: #f5f7f5;
    border-radius: 6px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.servicelineselected {
    width: fit-content;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    display: flex;
    flex-direction: row;
    background-color: #e6ebe7;
    border-radius: 6px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.platformlabel {
    font-size: 0.8rem;
    font-weight: bold;
    color: #525252;
    margin-left: 10px;
    padding: 2px;
}

.stationlabel {
    width: 250px;
    font-size: 1rem;
}

.stationlabelselected {
    width: 250px;
    font-weight: bold;
}

.timelabel {
    font-size: 1rem;
}

.timelabelselected {
    font-weight: bold;
}

.creditcontainer {
    margin-top: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.creditlabel {
    font-size: .7rem;
    color: black;
    font-style: italic;
}

.servicecontainer {
    display: flex;
    flex-direction: column;
}

.stationandtimecontainer {
    display: flex;
    flex-direction: row;
}


.journeycontainer {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    border-color: black;
    padding: 10px;
}


.loginpage {
    background-color: #e5ddd5;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #075e54 40%, #128c7e 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.track-image {
    position: absolute;
    opacity: 0.25;
    z-index: 1;
}

.track-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.track-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    object-fit: cover;
    transform: rotate(180deg);
}

.track-left {
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    object-fit: cover;
}

.track-right {
    top: 0;
    right: 0;
    height: 100%;
    width: 100px;
    object-fit: cover;
    transform: scaleX(-1);
}

.login-card {
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: #333;
    z-index: 2;
    position: relative;
}

    .login-card h1 {
        color: #075e54;
        font-weight: 700;
        margin-bottom: 1rem;
    }

.train-icon {
    font-size: 3rem;
    color: #25d366;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 1rem;
    padding: 0.75rem 1rem;
}

.btn-success {
    background-color: #25d366;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    padding: 0.75rem;
}

    .btn-success:hover {
        background-color: #20b858;
    }

.text-muted a {
    color: #128c7e;
    text-decoration: none;
    font-weight: 500;
}

    .text-muted a:hover {
        text-decoration: underline;
    }



.selectionlist {
    list-style-type: none;
}

.stationlistitem {
    min-width: 100px;
    font-size: 1rem;
    color: black;
    /*background-color: white;*/
    width: fit-content;
    list-style-type: none;
    padding:8px
}

    .stationlistitem:hover {
        cursor: pointer;
        background-color: lightgrey;
    }


@media (max-width: 1000px) {
    .navbutton{
        font-size:.9rem;
    }

    .journeycontainer {
    }
}