/* Tabs styling */
.tab-btn {
    color: #72767d;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: #dcddde;
}

.tab-btn.active {
    color: #7289da;
    border-bottom-color: #7289da;
}

/* Section accordion cards */
.section-card {
    transition: box-shadow 0.2s;
}

.section-card:hover {
    box-shadow: 0 0 0 1px rgba(114, 137, 218, 0.15);
}

.section-body {
    padding-top: 0.5rem;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Profile markdown content */
.profile-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #202225;
}

.profile-content h1:first-child {
    margin-top: 0;
}

.profile-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #7289da;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.profile-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #dcddde;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.profile-content strong {
    color: #fff;
    font-weight: 600;
}

.profile-content em {
    color: #b9bbbe;
}

.profile-content ul,
.profile-content ol {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
}

.profile-content ul {
    list-style-type: disc;
}

.profile-content ol {
    list-style-type: decimal;
}

.profile-content li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.profile-content blockquote {
    border-left: 3px solid #7289da;
    padding-left: 1rem;
    margin: 0.75rem 0;
    color: #b9bbbe;
    background: rgba(114, 137, 218, 0.05);
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 1rem;
}

.profile-content li strong {
    color: #7289da;
}

.profile-content li > strong:first-child {
    color: #fff;
}

.profile-content code {
    background: #202225;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

.profile-content pre {
    background: #202225;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 0.75rem;
}

.profile-content pre code {
    background: none;
    padding: 0;
}

.profile-content a {
    color: #7289da;
    text-decoration: underline;
}

.profile-content a:hover {
    color: #fff;
}

.profile-content hr {
    border: none;
    border-top: 1px solid #202225;
    margin: 1.5rem 0;
}

/* Table styling */
.profile-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.profile-content thead {
    display: none;
}

.profile-content tr {
    border-bottom: 1px solid #202225;
}

.profile-content tr:last-child {
    border-bottom: none;
}

.profile-content td {
    padding: 0.5rem 0.75rem;
    vertical-align: top;
    color: #dcddde;
}

.profile-content td:first-child {
    color: #7289da;
    font-weight: 600;
    white-space: nowrap;
    width: 1%;
}

.profile-content td:nth-child(2) {
    color: #faa61a;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    width: 1%;
    padding-right: 1.25rem;
}

.profile-content td:nth-child(3) {
    color: #b9bbbe;
    font-size: 0.8125rem;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2f3136;
}

::-webkit-scrollbar-thumb {
    background: #202225;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #72767d;
}
