.profile-header {
    display: flex;
    align-items: center;
}

.buttons-wrapper{
    display: flex;
    flex-wrap: inherit;
    gap: 4%;
    justify-content: center;
    margin-top: 6px;
    padding-bottom: 14px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-right: var(--space-md);
}

.profile-info h4 {
    margin: 0 0 var(--space-xs);
    color: var(--text-primary);
    font-size: var(--font-size-lg);

    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    vertical-align: middle;

}

.profile-info p {
    margin: 0 0 var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);

    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    vertical-align: middle;
}

.profile-tutorial-btn{
    width: 100%;
    height: 100%;
    max-width: 128px;
    max-height: 151px;

    border-radius: 50px;
    border: none;
    background-color: transparent;

    cursor: pointer;
}

body.light-theme .sun,
body.light-theme .sun-rays {
    opacity: 1;
    transform: scale(1);
}

body.light-theme .moon {
    opacity: 0;
    transform: scale(0.8);
}

body.dark-theme .sun,
body.dark-theme .sun-rays {
    opacity: 0;
    transform: scale(0.8);
}

body.dark-theme .moon {
    opacity: 1;
    transform: scale(1);
}

.profile-section-divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--border-subtle, #e0e0e0);
}

.totp-qr-wrapper {
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.totp-qr-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle, #e0e0e0);
    object-fit: contain;
}

.totp-secret {
    font-size: 0.95rem;
    margin-top: 8px;
}

.totp-recovery-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
}

.totp-recovery-list li {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px dashed var(--border-subtle, #e0e0e0);
    margin-bottom: 4px;
    word-break: break-all;
}


@media (max-width: 1024px) {
    .profile-tutorial-btn {
        display: none !important;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .profile-header-wrapper{
        padding: var(--space-md);
    }

    .profile-avatar{
        width: 50px;
        height: 50px;
        margin-right: 0;
    }

    .profile-info h4{
        font-size: 12px;
    }

    .profile-info p{
        font-size: 12px;
    }
}

