/*adfr for gpsglobe*/

:root {
    --primary: #385EA9!important;
    --secondary: #FEBD41!important;
    --bs-primary-rgb: 56,94,169!important;
    --bs-secondary-rgb: 254,189,65!important;
    --light: #d1df9f!important;
    --dark: #000000!important;
	--danger: #bb0000!important;
	--white: #fff!important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
}

body, html, td, a, p, span{font-family: 'Open Sans', sans-serif;}

body{
	background: url(./bg4.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	}

#roadbooks_alert {
    position: fixed;
    inset: 0 5% auto;
    z-index: 1100;
}

.login-shell {
    width: min(100%, 620px);
    background: var(--primary);
}

.login-card {
    min-height: 360px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    font-size: 2rem;
}

.btn-google {
    color: #333;
    background: #fff;
    border: 1px solid #cfd4da;
}

.btn-google:hover,
.btn-google:focus {
    color: #111;
    background: #f5f6f7;
    border-color: #aeb5bd;
}

.dashboard-card {
    margin-top: 5vh;
}

.dashboard-header {
    border-bottom: 1px solid #e9ecef;
}

.section-kicker {
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.empty-state {
    background: #f8f9fa;
}

.empty-state-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: var(--primary);
    background: rgba(56, 94, 169, .1);
    border-radius: 50%;
    font-size: 2rem;
}

.roadbook-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    color: inherit;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.roadbook-item:hover,
.roadbook-item:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 .35rem 1rem rgba(20, 38, 70, .1);
    transform: translateY(-1px);
}

.roadbook-pdf-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #c62828;
    background: #fff1f1;
    border-radius: .75rem;
    font-size: 1.45rem;
}

.roadbook-main,
.roadbook-title,
.roadbook-filename,
.roadbook-meta {
    display: block;
    min-width: 0;
}

.roadbook-title {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roadbook-filename,
.roadbook-meta {
    overflow: hidden;
    color: #6c757d;
    font-size: .84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roadbook-side {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.upload-zone {
    background: #f7f9fc;
    border: 2px dashed #b8c4d8;
}

.restriction-panel {
    background: #fbfcfe;
}

.participant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-height: 1rem;
}

.participant-tag {
    padding: .65rem .85rem;
    font-size: .82rem;
    font-weight: 600;
}

.participant-tag:hover,
.participant-tag:focus {
    background-color: #146c43 !important;
}

.modal-content {
    border: 0;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2);
}

.modal {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-dialog-scrollable .modal-content {
    min-height: 0;
}

.modal-dialog-scrollable .modal-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .login-shell {
        padding: 0 !important;
    }

    .login-card {
        border-radius: .5rem !important;
    }

    .dashboard-card {
        margin-top: 0;
    }

    .roadbook-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .roadbook-side {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .modal-footer.justify-content-between {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .modal-footer.justify-content-between > div {
        display: grid;
        gap: .5rem;
    }

    .modal-dialog {
        min-height: auto;
        margin: .5rem;
    }
}
