/* Add dark mode variables and base styles */
:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #151b2b;
    --bg-card: #1a2236;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: #2d3748;
    --accent-primary: #3b82f6;
    --accent-secondary: #f97316;
    --header-bg: #131e35;
    --hero-gradient: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    --card-hover-shadow: rgba(0, 0, 0, 0.3);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.landing-content {
    flex: 1;
    min-height: unset;
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    position: relative;
    background: var(--bg-primary);
}

.landing-content::before {
    display: none;
}

.dashboard-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    display: none;
}

.section-title:hover::after {
    width: auto;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dashboard-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    margin: 0 1.5rem 1.5rem 1.5rem;
}

.dashboard-counter .counter-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.dashboard-cards::before {
    display: none;
}

.dashboard-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    gap: 1rem;
    cursor: pointer;
    position: relative;
}

.dashboard-card:not(.disabled):hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    background: #1e293b;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-icon i {
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.dashboard-card:not(.disabled):hover .card-icon {
    background: var(--accent-primary);
}

.dashboard-card:not(.disabled):hover .card-icon i {
    color: white;
}

.dashboard-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.dashboard-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    width: fit-content;
}

.status-badge i {
    font-size: 0.7rem;
}

.status-badge.disabled {
    background: rgba(148, 163, 184, 0.1);
    color: #94a3b8;
}

.status-badge.disabled i {
    color: #6b7280;
}

.card-footer {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.access-link {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.access-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dashboard-card:not(.disabled):hover .access-link {
    color: var(--accent-secondary);
}

.dashboard-card:not(.disabled):hover .access-link i {
    transform: translateX(4px);
}

.dashboard-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-card);
}

/* Add loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

body.loaded .page-loader {
    opacity: 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add fade-in animation for main content */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove the subheader styles and update header-related styles */
.header {
    background: var(--header-bg);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-right {
    display: flex;
    align-items: center;
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: white;
    padding-left: 1.5rem;
    position: relative;
}

.dashboard-title::before {
    content: '';
    position: absolute;
    left: 0;
    height: 24px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-title i {
    color: #009845;
    font-size: 1.4rem;
}

/* Remove the section title underline animation */
.section-title::after {
    display: none;
}

.section-title:hover::after {
    width: auto;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }

    .header-left {
        justify-content: center;
    }

    .dashboard-title {
        padding-left: 0;
    }

    .dashboard-title::before {
        display: none;
    }

    .landing-content {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .dashboard-card {
        padding: 1.25rem;
    }
}

.qlik-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);  /* Makes the logo white */
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: white;
    padding-left: 1.5rem;
    position: relative;
}

/* Remove the old icon styling */
.dashboard-title i {
    color: #009845;
    font-size: 1.4rem;
}

/* Hero Section Styles */
.hero-section {
    background: var(--hero-gradient);
    text-align: left;
    padding: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content h2 {
    font-size: 1.6rem;
    margin: 0;
}

.hero-content p {
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

.hero-button {
    background-color: #e86a24;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin-left: 2rem;
}

.hero-button:hover {
    background-color: #dd550c;
}

/* Add responsive styles for hero section */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-button {
        margin: 1rem 0 0 0;
    }
}

.auburn-logo {
    max-height: 48px;
    /* Add any additional styling as needed */
}

.auburn-title-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-left: 0.35rem;
}

/* Update footer styles to match header */
.footer {
    background: var(--header-bg);
    color: white;
    padding: 1.5rem 2rem;
    margin-top: auto;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link:hover {
    color: white;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Remove theme toggle related styles */
.theme-toggle {
    display: none;
}

/* Add styles for the tag container and tags */
.dashboard-tags {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.dashboard-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-auth {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.tag-platform {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.tag-unauth {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.tag-onprem {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

/* Make icons slightly smaller */
.dashboard-tag i {
    font-size: 0.8rem;
}

/* Update disabled card tags to be more muted */
.dashboard-card.disabled .dashboard-tag {
    opacity: 0.7;
} 