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

/* TripGeo Tours site styles: the base of TripGeo's app.css (TripGeo/wwwroot/app.css), without its map, list and
   per-game rules. The Spooky Tours game brings its own stylesheet (css/spooky_tours.css, injected by the game). */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: white;
}

a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

    a:hover {
        text-decoration: underline;
        color: #0a58ca;
    }

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: 2000;
}

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

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1rem;
    color: white;
}

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

/* mobile margins */
@media (max-width: 640px) {
    .content {
        padding-left: 0.06rem;
        padding-right: 0.06rem;
    }
}

/* Desktop margins */
@media (min-width: 641px) {
    .content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Buttons */

.blueButton {
    background-color: royalblue;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .blueButton:hover {
        background-color: #4169e1;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .blueButton:active {
        background-color: #1a3d7c;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

/* LoginControl's Admin Support button */
.greenButton {
    background-color: forestgreen;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .greenButton:hover {
        background-color: mediumseagreen;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .greenButton:active {
        background-color: darkgreen;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

.orangeButton {
    background-color: #ff8c00;
    color: white;
    padding: 4px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .orangeButton:hover {
        background-color: #ffa500;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .orangeButton:active {
        background-color: #cc7000;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

.responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
