/* Wrapper and Reset */
.morphe-dashboard-41b521e5-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #0B0F19; /* Deep dark blue/black base */
    color: #E2E8F0;
    font-family: 'Inter', 'Roboto', sans-serif;
    overflow: hidden;
    padding: 40px 20px;
    box-sizing: border-box;
}

.morphe-dashboard-41b521e5-wrapper * {
    box-sizing: border-box;
}

/* Ambient Blobs for Glass depth */
.md-41b521e5-blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.md-41b521e5-blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(30,144,255,0.2) 0%, rgba(0,0,0,0) 70%);
}
.md-41b521e5-blob-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(0,250,154,0.15) 0%, rgba(0,0,0,0) 70%);
}
.md-41b521e5-blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(0,0,0,0) 70%);
}

/* Container */
.md-41b521e5-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.md-41b521e5-header {
    margin-bottom: 40px;
}
.md-41b521e5-greeting {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #38BDF8;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.md-41b521e5-main-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #FFFFFF;
    line-height: 1.2;
}
.md-41b521e5-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin: 0;
}

/* Grid Layout */
.md-41b521e5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Card - Glassmorphism */
.md-41b521e5-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 140px;
}

.md-41b521e5-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Category Label */
.md-41b521e5-category-label {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8; /* Fallback, overridden by widget settings */
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.md-41b521e5-card-icon {
    font-size: 22px;
    color: #38BDF8;
    margin-bottom: 12px;
    margin-top: 4px;
}
.md-41b521e5-card-icon svg {
    width: 22px;
    height: 22px;
    fill: #38BDF8;
}

.md-41b521e5-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #FFFFFF;
    padding-right: 20px;
}

.md-41b521e5-card-desc {
    font-size: 12px;
    color: #94A3B8;
    margin: 0 0 16px 0;
    line-height: 1.4;
    flex-grow: 1;
}

/* Action Bar (Holds Open link and New Badge) */
.md-41b521e5-card-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.md-41b521e5-card-action {
    font-size: 12px;
    font-weight: 600;
    color: #38BDF8;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.md-41b521e5-card:hover .md-41b521e5-card-action {
    opacity: 1;
}

/* New Badge - Animated Shimmer */
.md-41b521e5-new-badge {
    position: relative;
    font-size: 9px;
    font-weight: 800;
    color: #FFFFFF;
    background: rgba(16, 185, 129, 0.2); /* Emerald green translucent */
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
}

/* Shimmer Animation */
.md-41b521e5-new-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: md-shimmer 2s infinite ease-in-out;
}

@keyframes md-shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

/* Hover Glow Effect */
.md-41b521e5-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.md-41b521e5-card:hover .md-41b521e5-card-glow {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .md-41b521e5-main-title {
        font-size: 28px;
    }
    .md-41b521e5-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
