.wmt-gitlab-card {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 24px;
    margin: 20px 0;
    max-width: 100%;
    transition: box-shadow 0.3s ease;
    color: #333;
}

.wmt-gitlab-card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.wmt-gitlab-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wmt-gitlab-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-right: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wmt-gitlab-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 16px;
}

.wmt-gitlab-title-area h3 {
    margin: 0;
    font-size: 20px;
    color: #1f2937;
}

.wmt-gitlab-title-area h3 a {
    text-decoration: none;
    color: inherit;
}

.wmt-gitlab-path {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #6b7280;
}

.wmt-gitlab-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
}

.wmt-gitlab-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.wmt-stat-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease;
}

.wmt-stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

.wmt-stat-icon {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.wmt-stat-value {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #111827;
}

.wmt-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
}

.wmt-gitlab-readme-section h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 10px 0;
}

.wmt-gitlab-readme-scroll {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 12px;
    border: 1px solid #e5e7eb;
}

.wmt-gitlab-readme-scroll pre {
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
    color: #374151;
}

.wmt-gitlab-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.wmt-gitlab-btn {
    background: #6b4fbb;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}

.wmt-gitlab-btn:hover {
    background: #5a3fa3;
    transform: scale(1.02);
}

.wmt-gitlab-btn:active {
    transform: scale(0.98);
}

/* Dark mode support if theme supports it */
@media (prefers-color-scheme: dark) {
    .wmt-gitlab-card {
        background: rgba(30, 30, 40, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #e5e7eb;
    }
    .wmt-gitlab-title-area h3 { color: #f3f4f6; }
    .wmt-gitlab-path { color: #9ca3af; }
    .wmt-gitlab-description { color: #d1d5db; }
    .wmt-stat-item { background: rgba(255, 255, 255, 0.05); color: #e5e7eb; }
    .wmt-stat-value { color: #f9fafb; }
    .wmt-gitlab-readme-scroll { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.1); }
    .wmt-gitlab-readme-scroll pre { color: #d1d5db; }
}
