:root {
    --esa-navy: #003263;
    --esa-sky: #0091D5;
    --esa-light: #f4f7f9;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background-color: var(--esa-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.01rem;
}

main {
    flex: 1 0 auto;
}

nav {
    background-color: var(--esa-navy);
    border-bottom: 3px solid var(--esa-sky);
}

nav ul a:hover {
    background-color: var(--esa-navy);
}

.brand-logo {
    color: white;
}

@media only screen and (max-width: 992px) {
    nav .brand-logo.left {
        left: 0;
        transform: translateX(0%);
    }
}

.brand-logo2 {
    color: var(--esa-sky);
}

.hero {
    background: var(--esa-navy);
    color: white;
    padding: 60px 0;
    border-bottom: 5px solid var(--esa-sky);
}

.hero-banner {
    background: var(--esa-navy);
    color: white;
    padding: 30px 0;
    margin-bottom: 20px;
}

.card {
    border: none;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 700 !important;
    color: var(--esa-navy);
}

.clickable-action {
    cursor: pointer;
}

.clickable-action a {
    display: block;
    width: 100%;
    height: 100%;
}

.clickable-action:hover {
    background-color: var(--esa-sky) !important;
}

.rocket-image-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rocket-image-placeholder {
    background: #eef2f5;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rocket-image-placeholder img,
.homepage-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-image-placeholder {
    background: #eef2f5;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-block {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.stat-block:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #757575;
    font-weight: bold;
    display: block;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--esa-navy);
    font-weight: 600;
}

.stat-value-big {
    margin: 0;
    color: var(--esa-sky);
    font-size: 2rem;
}

.card-tabs{
    border-bottom: none !important;
}

.tabs.tabs-transparent {
    background-color: var(--esa-navy);
}

.tabs .indicator {
    display: none;
}

.tabs.tabs-transparent .tab a.active,
.tabs.tabs-transparent .tab a:focus.active {
    background-color: #fff !important;
    color: var(--esa-navy) !important;
    font-weight: 700;
}

.viz-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin-top: 5px;
    overflow: hidden;
}

.viz-fill {
    height: 100%;
    background: var(--esa-sky);
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.success {
    background-color: #4caf50;
    color: white;
}

.partial {
    background-color: #ff9800;
    color: white;
}

footer.page-footer {
    background-color: var(--esa-navy);
    border-top: 4px solid var(--esa-sky);
    margin-top: 40px;
}

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s;
}

.clickable-row:hover {
    background-color: rgba(0, 145, 213, 0.05) !important;
}

.clickable-row a {
    color: inherit;
    display: block;
}

.credit-img {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 8px;
    font-size: 0.9rem;
    border-radius: 2px;
}

.page-title {
    margin: 10px 0 0 0;
    font-weight: 800;
    font-size: 2.5rem;
}

.page-subtitle {
    margin: 5px 0 0 0;
    font-weight: 100;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.card-action {
    background-color: var(--esa-navy) !important;
}

.card-action a {
    color: white !important;
}

.card-action a:hover {
    color: var(--esa-light) !important;
}

.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-content-title {
    font-weight: 700;
    color: var(--esa-navy);
    margin-bottom: 20px;
}

.materialboxed {
    border-radius: 4px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.materialboxed:hover {
    transform: scale(1.02);
    cursor: zoom-in;
}

.card-disabled {
    opacity: 0.7;
    filter: grayscale(100%);
    cursor: not-allowed;
    pointer-events: none;
}

.card-disabled .badge {
    filter: none !important;
    opacity: 1 !important;
}

.card-disabled .card-title small {
    display: inline-block;
    background: #f4f4f4;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-soon-badge {
    font-size: 0.6rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.sidenav .disabled-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}