/* Custom dashboard styles */

/* Ensure navigation is always visible and not covered by Caspio iframe */
nav.navbar {
    position: relative;
    z-index: 9999;
    background-color: #f8f9fa !important;
}

/* Ensure container doesn't overlap navigation */
.container-fluid {
    position: relative;
    z-index: 1;
}

/* Ensure Caspio iframe doesn't cover the page */
#caspioform {
    position: relative !important;
    z-index: 1 !important;
}

/* ===== Launchpad (Hub) styles ===== */
.launchpad-container {
    max-width: 1200px;
    margin: 0 auto;
}

.launchpad-title {
    font-weight: 600;
    color: #212529;
}

.launchpad-section {
    margin-bottom: 2rem;
}

.launchpad-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.launchpad-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.launchpad-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none !important;
}

.launchpad-card.card-link:focus {
    color: inherit;
    text-decoration: none;
}

.launchpad-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

/* Partners dropdown: wide enough and text wraps */
.dropdown-menu-partners {
    min-width: 300px;
    max-width: 360px;
}

.dropdown-menu-partners .partners-desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

.dropdown .launchpad-card[data-toggle="dropdown"] {
    cursor: pointer;
}