.docs-index-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.docs-index-container {
    max-width: 720px;
    padding: 3rem 1rem;
}

.docs-index-header {
    margin-bottom: 2rem;
}

.docs-index-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
    letter-spacing: -0.02em;
}

.docs-index-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Grid */
.docs-index-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Link wrapper */
.docs-role-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.docs-role-link:hover {
    color: inherit;
}

/* Card */
.docs-role-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.docs-role-link:hover .docs-role-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11), 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .docs-role-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .docs-role-link:hover .docs-role-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Icon circle */
.docs-role-card__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.docs-role-card__icon-wrap--participant {
    background: var(--bs-primary);
}

.docs-role-card__icon-wrap--organizer {
    background: #5856d6;
}

.docs-role-card__icon-wrap--expert {
    background: #ff9f0a;
}

/* Body */
.docs-role-card__body {
    flex: 1;
    min-width: 0;
}

.docs-role-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.docs-role-card__desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Arrow */
.docs-role-card__arrow {
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.docs-role-link:hover .docs-role-card__arrow {
    transform: translateX(3px);
    color: var(--bs-primary);
}

@media (max-width: 576px) {
    .docs-index-page {
        align-items: flex-start;
    }

    .docs-index-container {
        padding: 2rem 1rem;
    }

    .docs-role-card {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .docs-role-card__icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .docs-role-card__icon-wrap svg {
        width: 22px;
        height: 22px;
    }
}
